mirror of
https://github.com/bitwarden/browser
synced 2025-01-13 02:47:19 +01:00
Do not process hostname for regex logins (#117)
This commit is contained in:
parent
635a6fd0d8
commit
7f6d7424e7
@ -58,6 +58,9 @@ export class LoginUriView implements View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get hostname(): string {
|
get hostname(): string {
|
||||||
|
if (this.match === UriMatchType.RegularExpression) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
if (this._hostname == null && this.uri != null) {
|
if (this._hostname == null && this.uri != null) {
|
||||||
this._hostname = Utils.getHostname(this.uri);
|
this._hostname = Utils.getHostname(this.uri);
|
||||||
if (this._hostname === '') {
|
if (this._hostname === '') {
|
||||||
|
Loading…
Reference in New Issue
Block a user