minor adjustment (accepting strange new looking uri formats)

This commit is contained in:
Miroslav Stampar 2011-02-04 10:55:03 +00:00
parent 1af418d444
commit d211def899

View File

@ -964,7 +964,7 @@ def parseTargetUrl():
__hostnamePort = __urlSplit[1].split(":")
conf.scheme = __urlSplit[0].strip()
conf.path = __urlSplit[2].strip()
conf.path = conf.url[conf.url.index(__urlSplit[2]):].strip()
conf.hostname = __hostnamePort[0].strip()
if re.search(r'\s', conf.hostname):