Code

#19785 closed Bug (needsinfo)

Some bug

Reported by: freeq2@… Owned by: nobody
Component: HTTP handling Version: 1.5-rc-1
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

-- ascii html file , with russian value word

<form method="post" action="http://127.0.0.1:8000/">

<input type="submit" name="attr" value="привет">

</form>

--

I post this to some view, and have encoding bug.
All value letters have ord 65533,
assert 0, ord(request.POSTattr?[0]) ...

I can fix this only ready raw post data,
request.read()

Attachments (0)

Change History (2)

comment:1 Changed 14 months ago by anonymous

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

post html to site, with encoding utf-8

comment:2 Changed 14 months ago by claudep

  • Resolution set to needsinfo
  • Status changed from new to closed

I'm afraid the report doesn't contain enough information for us to reproduce your issue. We would need at least the full HTTP request variables, or maybe a traceback of any failure you get in your code. Maybe even a full test case?

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.