mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.
http://bugs.python.org/issue27364
This commit is contained in:
@@ -95,9 +95,9 @@ class TestUtilsHttp(unittest.TestCase):
|
||||
r'\/example.com',
|
||||
r'/\example.com',
|
||||
'http:///example.com',
|
||||
'http:/\//example.com',
|
||||
'http:\/example.com',
|
||||
'http:/\example.com',
|
||||
r'http:/\//example.com',
|
||||
r'http:\/example.com',
|
||||
r'http:/\example.com',
|
||||
'javascript:alert("XSS")',
|
||||
'\njavascript:alert(x)',
|
||||
'\x08//example.com',
|
||||
|
||||
Reference in New Issue
Block a user