mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-06 10:52:38 +01:00
Remove 64:ff9b:
as private network block
Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3426
This commit is contained in:
parent
2782b16ecf
commit
2621c908c3
@ -3048,9 +3048,6 @@ class FilterIPAddress {
|
|||||||
if ( ipaddr.startsWith('::ffff:') === false ) { return false; }
|
if ( ipaddr.startsWith('::ffff:') === false ) { return false; }
|
||||||
return this.reIPv6IPv4lan.test(ipaddr);
|
return this.reIPv6IPv4lan.test(ipaddr);
|
||||||
}
|
}
|
||||||
if ( c0 === 0x36 /* 6 */ ) {
|
|
||||||
return ipaddr.startsWith('64:ff9b:');
|
|
||||||
}
|
|
||||||
if ( c0 === 0x66 /* f */ ) {
|
if ( c0 === 0x66 /* f */ ) {
|
||||||
return this.reIPv6local.test(ipaddr);
|
return this.reIPv6local.test(ipaddr);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user