mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-25 03:43:25 +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) {
|
||||
// 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;
|
||||
if ( type === 'imageset' ) {
|
||||
details.type = 'image';
|
||||
|
Loading…
Reference in New Issue
Block a user