File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
py/selenium/webdriver/remote Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 2222from base64 import b64encode
2323from typing import Optional
2424from urllib import parse
25- from urllib .parse import urlparse
25+ from urllib .parse import unquote , urlparse
2626
2727import urllib3
2828
@@ -298,7 +298,9 @@ def _get_connection_manager(self):
298298 return SOCKSProxyManager (self ._proxy_url , ** pool_manager_init_args )
299299 if self ._identify_http_proxy_auth ():
300300 self ._proxy_url , self ._basic_proxy_auth = self ._separate_http_proxy_auth ()
301- pool_manager_init_args ["proxy_headers" ] = urllib3 .make_headers (proxy_basic_auth = self ._basic_proxy_auth )
301+ pool_manager_init_args ["proxy_headers" ] = urllib3 .make_headers (
302+ proxy_basic_auth = unquote (self ._basic_proxy_auth )
303+ )
302304 return urllib3 .ProxyManager (self ._proxy_url , ** pool_manager_init_args )
303305
304306 return urllib3 .PoolManager (** pool_manager_init_args )
You can’t perform that action at this time.
0 commit comments