#28679: urlencode does not decode bytes before passing them to Python's 
urlencode
-------------------------------------+-------------------------------------
     Reporter:  François Freitag     |                    Owner:  François
                                     |  Freitag
         Type:  Bug                  |                   Status:  assigned
    Component:  Utilities            |                  Version:  2.0
     Severity:  Release blocker      |               Resolution:
     Keywords:  urlencode bytes      |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz):

 * type:  Uncategorized => Bug
 * severity:  Normal => Release blocker
 * stage:  Unreviewed => Accepted


Comment:

 Sure something needs to be fixed (sorry, I introduced the regression in
 [fee42fd99ee470528858c2ccb3621135c30ec262]).

 I just wonder if we should use `force_text` or rather let bytes be bytes,
 as the Python `urlencode` seems to accept both strings or bytes.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28679#comment:3>
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.68ff92747f5150bf9542da67eb872d19%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to