diff --git a/src/models/view/loginUriView.ts b/src/models/view/loginUriView.ts index 4e171ad967..afa6e200fd 100644 --- a/src/models/view/loginUriView.ts +++ b/src/models/view/loginUriView.ts @@ -58,6 +58,9 @@ export class LoginUriView implements View { } get hostname(): string { + if (this.match === UriMatchType.RegularExpression) { + return null; + } if (this._hostname == null && this.uri != null) { this._hostname = Utils.getHostname(this.uri); if (this._hostname === '') {