#22379: Escaping needed during lazy reversing of non-ascii URLs
-----------------------------+--------------------------------------
Reporter: jnns | Owner: nobody
Type: Bug | Status: closed
Component: Core (URLs) | Version: 1.6
Severity: Normal | Resolution: worksforme
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------------------------
Changes (by bmispelon):
* status: new => closed
* needs_docs: => 0
* resolution: => worksforme
* needs_tests: => 0
* needs_better_patch: => 0
Comment:
Hi,
I can't seem to be able to reproduce this:
{{{#!python
# urls.py
...
url(r'^é/$', view=..., name='foo')
...
>>> print(reverse('foo'))
/%C3%A9/
>>> print(reverse_lazy('foo'))
/%C3%A9/
}}}
Can you provide more information as to how you can trigger that error?
Thanks
--
Ticket URL: <https://code.djangoproject.com/ticket/22379#comment:1>
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/062.eb78aaf2a2fd8bdb4d5d801e31e95371%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.