mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-25 14:35:48 +03:00
- client: fix escape
This commit is contained in:
parent
f5128d27f1
commit
c7e7b76cec
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
export const R_URL_REQUIRES_PROTOCOL = /^https?:\/\/[^/\s]+(\/.*)?$/;
|
||||
|
||||
// matches hostname or *.wildcard
|
||||
export const R_HOST = /^(\*\.)?[\w\.\-]+$/;
|
||||
export const R_HOST = /^(\*\.)?[\w.-]+$/;
|
||||
|
||||
export const R_IPV4 = /^(?:(?:^|\.)(?:2(?:5[0-5]|[0-4]\d)|1?\d?\d)){4}$/;
|
||||
|
||||
|
|
Loading…
Reference in a new issue