[Webkit-unassigned] [Bug 191645] [Curl] Implement Cookie Accept Policy.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 22 01:39:14 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=191645

--- Comment #27 from Fujii Hironori <Hironori.Fujii at sony.com> ---
Comment on attachment 362684
  --> https://bugs.webkit.org/attachment.cgi?id=362684
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=362684&action=review

> Source/WebCore/platform/network/curl/CookieJarDB.cpp:341
> +    if (CookieUtil::isIPAddress(host) || !host.contains('.') || topPrivateDomain.isEmpty()) {

I think you don't need to do SQL query if url doesn't have a registerable domain name.

if (topPrivateDomain.isEmpty())
   return false;

Can Browers store cookies of domains containing no period?

if (!host.contains('.'))
   return false;

-- 
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/20190222/a3e6c7b8/attachment.html>


More information about the webkit-unassigned mailing list