WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
[patch]
Forward cookies on redirects
diff.patch (text/plain), 735 bytes, created by
Sergio Villar Senin
on 2012-10-04 11:17:31 PDT
(
hide
)
Description:
Forward cookies on redirects
Filename:
MIME Type:
Creator:
Sergio Villar Senin
Created:
2012-10-04 11:17:31 PDT
Size:
735 bytes
patch
obsolete
>diff --git a/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp b/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp >index a3fc443..e886efb 100644 >--- a/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp >+++ b/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp > -316,6 +316,7 @@ static void restartedCallback(SoupMessage* msg, gpointer data) > ResourceRequest request = handle->firstRequest(); > request.setURL(newURL); > request.setHTTPMethod(msg->method); >+ request.setFirstPartyForCookies(newURL); > > // Should not set Referer after a redirect from a secure resource to non-secure one. > if (!request.url().protocolIs("https") && protocolIs(request.httpReferrer(), "https")) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 64575
:
167139
|
189119
|
190057