mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	typo: urlaprse -> urlparse
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user