diff options
| author | Josh Soref <jsoref@users.noreply.github.com> | 2015-12-02 23:55:50 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-12-03 12:49:03 -0500 |
| commit | 8897f4b0df30f385d0a95156f8a18b4b25cea37e (patch) | |
| tree | 06b90550ea4c2481adbe89a918817d5b1726e65e /tests/utils_tests/test_http.py | |
| parent | 519cfbb4e8f388664347fcc708e44148148ed6f8 (diff) | |
[1.9.x] Fixed many spelling mistakes in code, comments, and docs.
Backport of 93452a70e8a62c7408eeded444f5088d4a26212d from master
Diffstat (limited to 'tests/utils_tests/test_http.py')
| -rw-r--r-- | tests/utils_tests/test_http.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/utils_tests/test_http.py b/tests/utils_tests/test_http.py index baa126d423..f90486003a 100644 --- a/tests/utils_tests/test_http.py +++ b/tests/utils_tests/test_http.py @@ -75,7 +75,7 @@ class TestUtilsHttp(unittest.TestCase): for bad_url in ('http://example.com', 'http:///example.com', 'https://example.com', - 'ftp://exampel.com', + 'ftp://example.com', r'\\example.com', r'\\\example.com', r'/\\/example.com', @@ -96,7 +96,7 @@ class TestUtilsHttp(unittest.TestCase): self.assertFalse(http.is_safe_url(bad_url, host='testserver'), "%s should be blocked" % bad_url) for good_url in ('/view/?param=http://example.com', '/view/?param=https://example.com', - '/view?param=ftp://exampel.com', + '/view?param=ftp://example.com', 'view/?param=//example.com', 'https://testserver/', 'HTTPS://testserver/', |
