mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
This commit is contained in:
parent
cbb5833bf2
commit
777144b036
1 changed files with 1 additions and 1 deletions
|
|
@ -445,7 +445,7 @@
|
|||
if ( decomposed.length === 0 || decomposed[0] !== hostname ) {
|
||||
let broaden;
|
||||
if ( reHostnameVeryCoarse.test(hostname) === false ) {
|
||||
if ( reIPv4VeryCoarse ) {
|
||||
if ( reIPv4VeryCoarse.test(hostname) ) {
|
||||
broaden = toBroaderIPv4Address;
|
||||
} else if ( hostname.startsWith('[') ) {
|
||||
broaden = toBroaderIPv6Address;
|
||||
|
|
|
|||
Loading…
Reference in a new issue