#19075: Query parameters are not decoded properly
---------------------------------+--------------------
     Reporter:  ivan_virabyan    |      Owner:  nobody
         Type:  Bug              |     Status:  new
    Component:  HTTP handling    |    Version:  master
     Severity:  Release blocker  |   Keywords:
 Triage Stage:  Unreviewed       |  Has patch:  1
Easy pickings:  0                |      UI/UX:  0
---------------------------------+--------------------
 {{{
 def index(request):
      q = request.GET['q']
      print q, repr(q)
 }}}

 When I make a query like this {{{ /?q=%D1%82%D0%B5%D1%81%D1%82 }}}
 I get: {{{ Ñ‚ÐµÑ Ñ‚ u'\xd1\x82\xd0\xb5\xd1\x81\xd1\x82' }}}
 However the right value must be (and it is in Django 1.4): {{{ тест
 u'\u0442\u0435\u0441\u0442' }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19075>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to