mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-16 15:33:38 +01:00
Ignore browser-provided 0.0.0.0 ip address when DNS is proxied
Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3379
This commit is contained in:
parent
d238baa374
commit
6a042f152b
@ -94,6 +94,10 @@ vAPI.Net = class extends vAPI.Net {
|
|||||||
}
|
}
|
||||||
|
|
||||||
normalizeDetails(details) {
|
normalizeDetails(details) {
|
||||||
|
// https://github.com/uBlockOrigin/uBlock-issues/issues/3379
|
||||||
|
if ( details.proxyInfo?.proxyDNS && details.ip === '0.0.0.0' ) {
|
||||||
|
details.ip = null;
|
||||||
|
}
|
||||||
const type = details.type;
|
const type = details.type;
|
||||||
if ( type === 'imageset' ) {
|
if ( type === 'imageset' ) {
|
||||||
details.type = 'image';
|
details.type = 'image';
|
||||||
|
Loading…
Reference in New Issue
Block a user