Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Commit

Permalink
Strip port
Browse files Browse the repository at this point in the history
  • Loading branch information
jarun committed Aug 26, 2018
1 parent 0696057 commit db47573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion googler
Original file line number Diff line number Diff line change
Expand Up @@ -2386,7 +2386,7 @@ def parse_proxy_spec(proxyspec):
host_port = proxyspec[pos+1:].rstrip('/')
else:
user_passwd = None
host_port = proxyspec
host_port = proxyspec.rstrip('/')

if ':' not in host_port:
# Use port 1080 as default, following curl.
Expand Down

0 comments on commit db47573

Please sign in to comment.