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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 28 03:12:13 PST 2019


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

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

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

> Source/WebCore/platform/network/curl/CookieJarDB.cpp:338
> +    if (isPublicSuffix(url))

isPublicSuffix takes domain name, not url.

> Source/WebCore/platform/network/curl/CookieJarDB.cpp:395
> +        pstmt->bindText(5, String("*.") + registrableDomain.string());

Why do you need to search all cookies for the eTLD+1?
For example, cookies from http://host1.example.com which doesn't specify Domain parameter shouldn't be passes to http://host2.example.com.

-- 
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/20190228/e71523be/attachment.html>


More information about the webkit-unassigned mailing list