summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCollin Anderson <cmawebsite@gmail.com>2014-05-14 15:00:57 -0400
committerTim Graham <timograham@gmail.com>2014-05-15 06:36:14 -0400
commit93d5b0d5b6fac67fe7cbd3b86d3073550396958f (patch)
tree725a50f40cdd14429a277a00a37920b413d91b37
parentd1860a3529cb5af358451dd6548f0a815f02531d (diff)
[1.7.x] typo: urlaprse -> urlparse
Backport of 8a2f04db91 from master
-rw-r--r--django/utils/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/http.py b/django/utils/http.py
index 28245d23f4..27d445d46f 100644
--- a/django/utils/http.py
+++ b/django/utils/http.py
@@ -275,7 +275,7 @@ def is_safe_url(url, host=None):
# Chrome treats \ completely as /
url = url.replace('\\', '/')
# Chrome considers any URL with more than two slashes to be absolute, but
- # urlaprse is not so flexible. Treat any url with three slashes as unsafe.
+ # urlparse is not so flexible. Treat any url with three slashes as unsafe.
if url.startswith('///'):
return False
url_info = urlparse(url)