Changeset 143931 in webkit
- Timestamp:
- Feb 25, 2013 8:56:14 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r143925 r143931 1 2013-02-25 Sergio Villar Senin <svillar@igalia.com> 2 3 [soup] "Too many redirects" error loading chat in plus.google.com 4 https://bugs.webkit.org/show_bug.cgi?id=64575 5 6 Reviewed by Martin Robinson. 7 8 This new test checks firstPartyForCookies is properly set to the 9 new URL on redirects. 10 11 * http/tests/cookies/resources/set-cookie-on-redirect.php: Added. 12 * http/tests/cookies/set-cookie-on-redirect-expected.txt: Added. 13 * http/tests/cookies/set-cookie-on-redirect.html: Added. 14 1 15 2013-02-25 Zoltan Arvai <zarvai@inf.u-szeged.hu> 2 16 -
trunk/Source/WebCore/ChangeLog
r143926 r143931 1 2013-02-25 Sergio Villar Senin <svillar@igalia.com> 2 3 [soup] "Too many redirects" error loading chat in plus.google.com 4 https://bugs.webkit.org/show_bug.cgi?id=64575 5 6 Reviewed by Martin Robinson. 7 8 Set the firstPartyForCookies for the new request on redirects to 9 the URL used for redirection. 10 11 Test: http/tests/cookies/set-cookie-on-redirect.html 12 13 * platform/network/soup/ResourceHandleSoup.cpp: 14 (WebCore::doRedirect): 15 1 16 2013-02-25 Andreas Kling <akling@apple.com> 2 17 -
trunk/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp
r143487 r143931 460 460 bool crossOrigin = !protocolHostAndPortAreEqual(handle->firstRequest().url(), newURL); 461 461 newRequest.setURL(newURL); 462 newRequest.setFirstPartyForCookies(newURL); 462 463 463 464 if (newRequest.httpMethod() != "GET") {
Note: See TracChangeset
for help on using the changeset viewer.