Skip to content

Commit

Permalink
Ignore browser-provided 0.0.0.0 ip address when DNS is proxied
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Sep 17, 2024
1 parent d238baa commit 6a042f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions platform/firefox/vapi-background-ext.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 6a042f1

Please sign in to comment.