Fix for a bug in the fix for SF bug 503031. This time the OP verified
that it works. Bugfix candidate (this and the previous checkin, obviously).
This commit is contained in:
parent
45afd54c8f
commit
64e5aa9391
|
@ -1279,8 +1279,8 @@ elif os.name == 'nt':
|
||||||
for p in proxyServer.split(';'):
|
for p in proxyServer.split(';'):
|
||||||
protocol, address = p.split('=', 1)
|
protocol, address = p.split('=', 1)
|
||||||
# See if address has a type:// prefix
|
# See if address has a type:// prefix
|
||||||
type, address = splittype(address)
|
import re
|
||||||
if not type:
|
if not re.match('^([^/:]+)://', address):
|
||||||
address = '%s://%s' % (protocol, address)
|
address = '%s://%s' % (protocol, address)
|
||||||
proxies[protocol] = address
|
proxies[protocol] = address
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue