提交 0d9307ff 编写于 作者: S SteVen Batten

fix resource rewrite before host available

fixes #82467
上级 f6668e80
......@@ -93,7 +93,7 @@ class RemoteAuthoritiesImpl {
}
const authority = uri.authority;
let host = this._hosts[authority];
if (host.indexOf(':') !== -1) {
if (host && host.indexOf(':') !== -1) {
host = `[${host}]`;
}
const port = this._ports[authority];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册