[Webkit-unassigned] [Bug 182924] Potential privacy issue: DNS prefetching can be re-enabled
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 23 11:32:13 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=182924
--- Comment #15 from Michael Catanzaro <mcatanzaro at igalia.com> ---
Just don't get rid of the && !m_haveExplicitlyDisabledDNSPrefetch check:
void Document::parseDNSPrefetchControlHeader(const String& dnsPrefetchControl)
{
// Prefetch disabled in settings
if (!settings().dnsPrefetchingEnabled())
return;
// Prefetch requested by website *AND not previously turned off by website*
if (equalLettersIgnoringASCIICase(dnsPrefetchControl, "on") && !m_haveExplicitlyDisabledDNSPrefetch) {
m_isDNSPrefetchEnabled = true;
return;
}
// Prefetch turned off by website (any value for the header except "on")
m_isDNSPrefetchEnabled = false;
m_haveExplicitlyDisabledDNSPrefetch = true;
}
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180223/3f967426/attachment.html>
More information about the webkit-unassigned
mailing list