Changeset 228006 in webkit
- Timestamp:
- Feb 2, 2018 5:54:14 AM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r227997 r228006 1 2018-02-02 Commit Queue <commit-queue@webkit.org> 2 3 Unreviewed, rolling out r227964. 4 https://bugs.webkit.org/show_bug.cgi?id=182423 5 6 It broke several unit tests (Requested by KaL on #webkit). 7 8 Reverted changeset: 9 10 "[SOUP] Ensure domain is valid when converting a WebCore 11 Cookie to Soup" 12 https://bugs.webkit.org/show_bug.cgi?id=182328 13 https://trac.webkit.org/changeset/227964 14 1 15 2018-02-01 Chris Dumez <cdumez@apple.com> 2 16 -
trunk/Source/WebCore/platform/network/soup/CookieSoup.cpp
r227964 r228006 61 61 return nullptr; 62 62 63 // soup_cookie_new() will handle the given domain as a hostname if it doesn't start with '.'.64 auto cookieDomain = domain.utf8();65 if (cookieDomain.length() && !g_hostname_is_ip_address(cookieDomain.data()) && cookieDomain.data()[0] != '.')66 cookieDomain = makeString('.', domain).utf8();67 68 63 SoupCookie* soupCookie = soup_cookie_new(name.utf8().data(), value.utf8().data(), 69 cookieDomain.data(), path.utf8().data(), -1);64 domain.utf8().data(), path.utf8().data(), -1); 70 65 71 66 soup_cookie_set_http_only(soupCookie, httpOnly);
Note: See TracChangeset
for help on using the changeset viewer.