Do not process hostname for regex logins (#117)

This commit is contained in:
Kyle Spearrin 2020-06-18 11:58:29 -04:00 committed by GitHub
parent 635a6fd0d8
commit 7f6d7424e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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 === '') {