#9224: request.get_full_path() raise string encoding error when user submit a
non-
ascii url.
------------------------------------+---------------------------------------
Reporter: flytwokites | Owner: nobody
Status: new | Milestone:
Component: HTTP handling | Version: 1.0
Resolution: | Keywords: get_full_path
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Changes (by mtredinnick):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
Next time, please submit a patch file, rather than pasting the diff into
the body of the description.
After testing this and checking the specs (in particular, RFC 3986), the
problem only occurs when an invalid URI is used. URI's are required to
percent encode all data outside the US-ASCII range, which is why this
isn't normally a problem. Still, since crashing is bad, the fix is
worthwhile.
--
Ticket URL: <http://code.djangoproject.com/ticket/9224#comment:1>
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
-~----------~----~----~----~------~----~------~--~---