#29323: HTTPRequest QueryDict wrongly decodes binary encoded values
---------------------------------+--------------------------------------
     Reporter:  Thomas Riccardi  |                    Owner:  nobody
         Type:  Bug              |                   Status:  closed
    Component:  HTTP handling    |                  Version:  1.11
     Severity:  Normal           |               Resolution:  wontfix
     Keywords:                   |             Triage Stage:  Unreviewed
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+--------------------------------------

Comment (by Claude Paroz):

 An alternative would be to let undecodable quoted values as is in
 `request.POST`: `request.POST['want']` -> `'caf%E9'`.
 Then if the app knows some posted content will contain such a value, it
 can take care of unquoting the value itself. I think it would add less
 backwards incompatibility.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29323#comment:12>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/073.fa12c04d4e691ac935f4cfe9ff4ecef2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to