proxy variables now may contain ':' (important for IPv6)

This commit is contained in:
Joachim Lusiardi 2015-01-07 15:14:29 +01:00
parent fa01646eb4
commit 1eda6e5cb8

View File

@ -70,7 +70,7 @@ def analyse_env_vars(data):
def analyse_proxy_data(data):
proxy_data = {}
for proxy_var in data.split(','):
t = proxy_var.split(":")
t = proxy_var.split(":",1)
proxy_data[t[0]] = t[1]
return proxy_data