1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-25 09:32:06 +01:00

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

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