mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed many spelling mistakes in code, comments, and docs.
This commit is contained in:
@@ -618,7 +618,7 @@ class HostValidationTests(SimpleTestCase):
|
||||
'12.34.56.78:443',
|
||||
'[2001:19f0:feee::dead:beef:cafe]',
|
||||
'[2001:19f0:feee::dead:beef:cafe]:8080',
|
||||
'xn--4ca9at.com', # Punnycode for öäü.com
|
||||
'xn--4ca9at.com', # Punycode for öäü.com
|
||||
'anything.multitenant.com',
|
||||
'multitenant.com',
|
||||
'insensitive.com',
|
||||
@@ -688,7 +688,7 @@ class HostValidationTests(SimpleTestCase):
|
||||
'12.34.56.78:443',
|
||||
'[2001:19f0:feee::dead:beef:cafe]',
|
||||
'[2001:19f0:feee::dead:beef:cafe]:8080',
|
||||
'xn--4ca9at.com', # Punnycode for öäü.com
|
||||
'xn--4ca9at.com', # Punycode for öäü.com
|
||||
]
|
||||
|
||||
for host in legit_hosts:
|
||||
@@ -766,7 +766,7 @@ class HostValidationTests(SimpleTestCase):
|
||||
'example.com',
|
||||
'12.34.56.78',
|
||||
'[2001:19f0:feee::dead:beef:cafe]',
|
||||
'xn--4ca9at.com', # Punnycode for öäü.com
|
||||
'xn--4ca9at.com', # Punycode for öäü.com
|
||||
]:
|
||||
request = HttpRequest()
|
||||
request.META = {'HTTP_HOST': host}
|
||||
|
||||
Reference in New Issue
Block a user