proxy variables now may contain ':' (important for IPv6)
This commit is contained in:
parent
fa01646eb4
commit
1eda6e5cb8
|
@ -70,7 +70,7 @@ def analyse_env_vars(data):
|
||||||
def analyse_proxy_data(data):
|
def analyse_proxy_data(data):
|
||||||
proxy_data = {}
|
proxy_data = {}
|
||||||
for proxy_var in data.split(','):
|
for proxy_var in data.split(','):
|
||||||
t = proxy_var.split(":")
|
t = proxy_var.split(":",1)
|
||||||
proxy_data[t[0]] = t[1]
|
proxy_data[t[0]] = t[1]
|
||||||
return proxy_data
|
return proxy_data
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue