core: Add port to proxy URL for Authenticator

Otherwise the scheme (https) is used to determine the port.
This commit is contained in:
Eric Anderson 2017-10-20 12:12:10 -07:00
parent 698ba803d5
commit 8016a1f0e5
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class ProxyDetectorImpl implements ProxyDetector {
String host, InetAddress addr, int port, String protocol, String prompt, String scheme) {
URL url = null;
try {
url = new URL(protocol, host, "");
url = new URL(protocol, host, port, "");
} catch (MalformedURLException e) {
// let url be null
log.log(