From 7f6d7424e77bccd68b63506b1205ef0dfa7c21bd Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 18 Jun 2020 11:58:29 -0400 Subject: [PATCH] Do not process hostname for regex logins (#117) --- src/models/view/loginUriView.ts | 3 +++ 1 file changed, 3 insertions(+) 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 === '') {