mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #13260 -- Quoted arguments interpolated in URLs in reverse.
This commit is contained in:
@@ -281,6 +281,16 @@ warning is generated by :djadmin:`makemessages` when it finds them. E.g.:
|
||||
{{ title }}{# Translators: Extracted and associated with 'Welcome' below #}
|
||||
<h1>{% trans "Welcome" %}</h1>
|
||||
|
||||
Quoting in :func:`~django.core.urlresolvers.reverse`
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
When reversing URLs, Django didn't apply :func:`~django.utils.http.urlquote`
|
||||
to arguments before interpolating them in URL patterns. This bug is fixed in
|
||||
Django 1.6. If you worked around this bug by applying URL quoting before
|
||||
passing arguments to :func:`~django.core.urlresolvers.reverse`, this may
|
||||
result in double-quoting. If this happens, simply remove the URL quoting from
|
||||
your code.
|
||||
|
||||
Storage of IP addresses in the comments app
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user