We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 665ac1d commit 22caeb9Copy full SHA for 22caeb9
1 file changed
src/vs/base/common/network.ts
@@ -92,7 +92,10 @@ class RemoteAuthoritiesImpl {
92
return this._delegate(uri);
93
}
94
const authority = uri.authority;
95
- const host = this._hosts[authority];
+ let host = this._hosts[authority];
96
+ if (host.indexOf(':') !== -1) {
97
+ host = `[${host}]`;
98
+ }
99
const port = this._ports[authority];
100
const connectionToken = this._connectionTokens[authority];
101
return URI.from({
0 commit comments