Browse files

[1.6.x] Fixed #21665 -- Documented that changes in assertRedirects ma…

…y be required given new URL escaping behavior.

Thank pdc for the report.

Backport of 62e81bc00b from master
  • Loading branch information...
1 parent 779ef57 commit 7af32bca38f01dc5b677a4161bf0853149f97b3e @timgraham timgraham committed Mar 24, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 docs/releases/1.6.txt
@@ -586,7 +586,8 @@ 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.
+your code. You will also have to replace special characters in URLs used in
+:func:`~django.test.SimpleTestCase.assertRedirects` with their encoded versions.
Storage of IP addresses in the comments app

0 comments on commit 7af32bc

Please sign in to comment.