mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
Do not process hostname for regex logins (#117)
This commit is contained in:
@@ -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 === '') {
|
||||||
|
|||||||
Reference in New Issue
Block a user