mirror of
https://github.com/safing/portmaster
synced 2025-09-02 02:29:12 +00:00
Allow single character tld (for internal usage)
This commit is contained in:
parent
a800816827
commit
69b07cbc69
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ var (
|
|||
`\.` + // ending with a dot
|
||||
`)*` + // end subdomain group, allow any number of subdomains
|
||||
`(xn--)?` + // TLD idn prefix
|
||||
`[a-z0-9_-]{2,63}` + // TLD main chunk with at least two characters
|
||||
`[a-z0-9_-]{1,63}` + // TLD main chunk with at least one character
|
||||
`\.` + // ending with a dot
|
||||
`$`, // match end
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue