diff options
| author | UmanShahzad <emidanrko564@hotmail.com> | 2017-04-29 19:10:43 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-05-10 09:02:20 -0400 |
| commit | 856072dd4a3e479aa09b0ab6b498ff599ca2a809 (patch) | |
| tree | 79d31879bfe493069fb9027d4c95a7cce25ebcc3 /tests/utils_tests | |
| parent | 3db84b5526a16a136862381c6f8b08c59da4cb82 (diff) | |
Fixed #28142 -- Fixed is_safe_url() crash on invalid IPv6 URLs.
Diffstat (limited to 'tests/utils_tests')
| -rw-r--r-- | tests/utils_tests/test_http.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/utils_tests/test_http.py b/tests/utils_tests/test_http.py index 80e795d3af..e3b9425184 100644 --- a/tests/utils_tests/test_http.py +++ b/tests/utils_tests/test_http.py @@ -100,6 +100,8 @@ class TestUtilsHttp(unittest.TestCase): 'http:999999999', 'ftp:9999999999', '\n', + 'http://[2001:cdba:0000:0000:0000:0000:3257:9652/', + 'http://2001:cdba:0000:0000:0000:0000:3257:9652]/', ) for bad_url in bad_urls: with ignore_warnings(category=RemovedInDjango21Warning): |
