mirror of https://github.com/django/django.git
Edited releases/1.4.txt changes from [17354]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17426 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
e2e3d4da0c
commit
20106af74d
|
@ -955,11 +955,11 @@ compatibility, use ``SESSION_COOKIE_HTTPONLY = False`` in your settings file.
|
|||
The :tfilter:`urlize` filter no longer escapes every URL
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
When an URL contains a ``%xx`` sequence, where ``xx`` are two hexadecimal
|
||||
digits, :tfilter:`urlize` assumes that the URL is already escaped, and doesn't
|
||||
apply URL escaping again. This is wrong for URLs whose unquoted form contains
|
||||
a ``%xx`` sequence, but such URLs are very unlikely to happen in the wild,
|
||||
since they would confuse browsers too.
|
||||
When a URL contains a ``%xx`` sequence, where ``xx`` are two hexadecimal
|
||||
digits, :tfilter:`urlize` now assumes that the URL is already escaped and
|
||||
doesn't apply URL escaping again. This is wrong for URLs whose unquoted form
|
||||
contains a ``%xx`` sequence, but such URLs are very unlikely to happen in the
|
||||
wild, because they would confuse browsers too.
|
||||
|
||||
``assertTemplateUsed`` and ``assertTemplateNotUsed`` as context manager
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
Loading…
Reference in New Issue