Title: [221227] trunk/Source/WebCore
- Revision
- 221227
- Author
- [email protected]
- Date
- 2017-08-26 09:54:35 -0700 (Sat, 26 Aug 2017)
Log Message
Unreviewed, tighten up scope of variable in previous commit
* platform/network/soup/CookieJarSoup.cpp:
(WebCore::cookiesForSession):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (221226 => 221227)
--- trunk/Source/WebCore/ChangeLog 2017-08-26 16:49:59 UTC (rev 221226)
+++ trunk/Source/WebCore/ChangeLog 2017-08-26 16:54:35 UTC (rev 221227)
@@ -1,5 +1,12 @@
2017-08-26 Michael Catanzaro <[email protected]>
+ Unreviewed, tighten up scope of variable in previous commit
+
+ * platform/network/soup/CookieJarSoup.cpp:
+ (WebCore::cookiesForSession):
+
+2017-08-26 Michael Catanzaro <[email protected]>
+
[SOUP] Update cookie jar implementation to filter out secure cookies
https://bugs.webkit.org/show_bug.cgi?id=175850
Modified: trunk/Source/WebCore/platform/network/soup/CookieJarSoup.cpp (221226 => 221227)
--- trunk/Source/WebCore/platform/network/soup/CookieJarSoup.cpp 2017-08-26 16:49:59 UTC (rev 221226)
+++ trunk/Source/WebCore/platform/network/soup/CookieJarSoup.cpp 2017-08-26 16:54:35 UTC (rev 221227)
@@ -86,11 +86,11 @@
{
GUniquePtr<SoupURI> uri = url.createSoupURI();
GSList* cookies = soup_cookie_jar_get_cookie_list(session.cookieStorage(), uri.get(), forHTTPHeader);
- GSList* item = cookies;
bool didAccessSecureCookies = false;
// libsoup should omit secure cookies itself if the protocol is not https.
if (url.protocolIs("https")) {
+ GSList* item = cookies;
while (item) {
auto cookie = static_cast<SoupCookie*>(item->data);
if (soup_cookie_get_secure(cookie)) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes