Commit 64e5aa93 authored by Guido van Rossum's avatar Guido van Rossum

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).
parent 45afd54c
......@@ -1279,8 +1279,8 @@ elif os.name == 'nt':
for p in proxyServer.split(';'):
protocol, address = p.split('=', 1)
# See if address has a type:// prefix
type, address = splittype(address)
if not type:
import re
if not re.match('^([^/:]+)://', address):
address = '%s://%s' % (protocol, address)
proxies[protocol] = address
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment