Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Replaced netloc with hostname
  • Loading branch information
kauppine committed Apr 10, 2021
commit 7f1119e36dc0a9000bd4aa421c58371f36cfd591
2 changes: 1 addition & 1 deletion lib/request/connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ def getPage(**kwargs):
if conf.proxy:
ws_proxy_uri = _urllib.parse.urlsplit(conf.proxy)
ws_proxy_port = ws_proxy_uri.port
ws_proxy_host = ws_proxy_uri.netloc.split(":")[0]
ws_proxy_host = ws_proxy_uri.hostname
ws_proxy_scheme = ws_proxy_uri.scheme

if conf.proxyCred:
Expand Down