From 8a2f04db914a66c4bfca7fc2f9a523c14dbbf3eb Mon Sep 17 00:00:00 2001 From: Collin Anderson Date: Wed, 14 May 2014 15:00:57 -0400 Subject: [PATCH] typo: urlaprse -> urlparse --- django/utils/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)