#2078: [patch] HttpResponseRedirect should percent-encode non-ASCII characters
in
Location header
------------------------------------------------+---------------------------
Reporter: Andrey <[email protected]> | Owner: adrian
Status: reopened | Milestone:
Component: Core framework | Version:
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------------------+---------------------------
Changes (by shivaraj):
* status: closed => reopened
* resolution: fixed =>
Comment:
Recently I came across http://www.djangosnippets.org/snippets/1048/ and I
found
params = {'v':'1.0', 'q': text.encode('utf-8')}
to be the encoded format for urlopening translation apis with non-ASCII
characters,
when I didn't succeed in sending a escaped version used here to call
translate api from django.
--
Ticket URL: <http://code.djangoproject.com/ticket/2078#comment:8>
Django <http://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 this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---