mirror of https://github.com/gorhill/uBlock.git
This commit is contained in:
parent
cbb5833bf2
commit
777144b036
|
@ -445,7 +445,7 @@
|
||||||
if ( decomposed.length === 0 || decomposed[0] !== hostname ) {
|
if ( decomposed.length === 0 || decomposed[0] !== hostname ) {
|
||||||
let broaden;
|
let broaden;
|
||||||
if ( reHostnameVeryCoarse.test(hostname) === false ) {
|
if ( reHostnameVeryCoarse.test(hostname) === false ) {
|
||||||
if ( reIPv4VeryCoarse ) {
|
if ( reIPv4VeryCoarse.test(hostname) ) {
|
||||||
broaden = toBroaderIPv4Address;
|
broaden = toBroaderIPv4Address;
|
||||||
} else if ( hostname.startsWith('[') ) {
|
} else if ( hostname.startsWith('[') ) {
|
||||||
broaden = toBroaderIPv6Address;
|
broaden = toBroaderIPv6Address;
|
||||||
|
|
Loading…
Reference in New Issue