attempt to fix issue 1296, ipv6 header parsing
This commit is contained in:
2
VERSION
2
VERSION
@@ -1 +1 @@
|
||||
Version 2.4.1-alpha.2+timestamp.2013.01.20.14.49.37
|
||||
Version 2.4.1-alpha.2+timestamp.2013.01.20.14.51.12
|
||||
|
||||
@@ -864,7 +864,7 @@ class MapUrlIn(object):
|
||||
if not self.host:
|
||||
(self.host, self.port) = ('localhost', '80')
|
||||
if ':' in self.host:
|
||||
(self.host, self.port) = self.host.split(':')
|
||||
(self.host, self.port) = self.host.rsplit(':',1) # for ipv6 support
|
||||
if not self.port:
|
||||
self.port = '443' if self.scheme == 'https' else '80'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user