diff --git a/tests/utils_tests/test_html.py b/tests/utils_tests/test_html.py index 94b8f946cc..8057fdc051 100644 --- a/tests/utils_tests/test_html.py +++ b/tests/utils_tests/test_html.py @@ -183,6 +183,7 @@ class TestUtilsHtml(SimpleTestCase): 'http://example.com/?q=http%3A%2F%2Fexample.com%2F%3Fx%3D1%26q%3Ddjango'), ('http://example.com/?q=http%3A%2F%2Fexample.com%2F%3Fx%3D1%26q%3Ddjango', 'http://example.com/?q=http%3A%2F%2Fexample.com%2F%3Fx%3D1%26q%3Ddjango'), + ('http://.www.f oo.bar/', 'http://.www.f%20oo.bar/'), ) # IDNs are properly quoted for value, output in items: