Skip to content

Commit

Permalink
Added a space before explanation of "Invalid HTTP_HOST header: ..."
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed authored and timgraham committed Jul 6, 2014
1 parent e0e8e1e commit fff7b50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django/http/request.py
Expand Up @@ -89,9 +89,9 @@ def get_host(self):
else:
msg = "Invalid HTTP_HOST header: %r." % host
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:
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)

def get_full_path(self):
Expand Down

0 comments on commit fff7b50

Please sign in to comment.