Commits

Anonymous committed 4674cc0

typo

  • Participants
  • Parent commits b8366d4

Comments (0)

Files changed (1)

File paste/urlmap.py

     def __call__(self, environ, start_response):
         host = environ.get('HTTP_HOST', environ.get('SERVER_NAME')).lower()
         if ':' in host:
-            host, port = host.split(':', 1)[0]
+            host, port = host.split(':', 1)
         else:
             if environ['wsgi.url_scheme'] == 'http':
                 port = '80'