mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Added a space before explanation of "Invalid HTTP_HOST header: ..."
This commit is contained in:
		
				
					committed by
					
						 Tim Graham
						Tim Graham
					
				
			
			
				
	
			
			
			
						parent
						
							e0e8e1e383
						
					
				
				
					commit
					fff7b507ef
				
			| @@ -91,7 +91,7 @@ class HttpRequest(object): | |||||||
|             if domain: |             if domain: | ||||||
|                 msg += " You may need to add %r to ALLOWED_HOSTS." % domain |                 msg += " You may need to add %r to ALLOWED_HOSTS." % domain | ||||||
|             else: |             else: | ||||||
|                 msg += "The domain name provided is not valid according to RFC 1034/1035" |                 msg += " The domain name provided is not valid according to RFC 1034/1035." | ||||||
|             raise DisallowedHost(msg) |             raise DisallowedHost(msg) | ||||||
|  |  | ||||||
|     def get_full_path(self): |     def get_full_path(self): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user