1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +00: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

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