Merge pull request #2258 from mozilla/proxy-dns-2248

fix #2248: proxy DNS too
This commit is contained in:
Andrea Marchesini 2022-01-01 21:47:31 +01:00 committed by GitHub
commit cb31410dd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -198,11 +198,11 @@ window.assignManager = {
} }
if (!result.proxy.mozProxyEnabled) { if (!result.proxy.mozProxyEnabled) {
return result.proxy; return [{ ...result.proxy, proxyDNS: true }];
} }
// Let's add the isolation key. // Let's add the isolation key.
return [{ ...result.proxy, connectionIsolationKey: "" + MozillaVPN_Background.isolationKey }]; return [{ ...result.proxy, connectionIsolationKey: "" + MozillaVPN_Background.isolationKey, proxyDNS: true }];
}, },
// Before a request is handled by the browser we decide if we should // Before a request is handled by the browser we decide if we should