From 7af32bca38f01dc5b677a4161bf0853149f97b3e Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 24 Mar 2014 09:06:57 -0400 Subject: [PATCH] [1.6.x] Fixed #21665 -- Documented that changes in assertRedirects may be required given new URL escaping behavior. Thank pdc for the report. Backport of 62e81bc00b from master --- docs/releases/1.6.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/releases/1.6.txt b/docs/releases/1.6.txt index 9901a2db2a..60ff928221 100644 --- a/docs/releases/1.6.txt +++ b/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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~