WebKit Bugzilla
Attachment 342325 Details for
Bug 186441
: http/tests/security/cors-post-redirect-307.html fails with PSON enabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
For EWS
186441_wip.patch (text/plain), 744 bytes, created by
Chris Dumez
on 2018-06-08 14:12:54 PDT
(
hide
)
Description:
For EWS
Filename:
MIME Type:
Creator:
Chris Dumez
Created:
2018-06-08 14:12:54 PDT
Size:
744 bytes
patch
obsolete
>diff --git a/Source/WebCore/loader/FrameLoader.cpp b/Source/WebCore/loader/FrameLoader.cpp >index 3fb4f280fa0..276018a2a37 100644 >--- a/Source/WebCore/loader/FrameLoader.cpp >+++ b/Source/WebCore/loader/FrameLoader.cpp >@@ -2832,12 +2832,14 @@ void FrameLoader::addHTTPOriginIfNeeded(ResourceRequest& request, const String& > // For non-GET and non-HEAD methods, always send an Origin header so the > // server knows we support this feature. > >+#if 0 > if (origin.isEmpty()) { > // If we don't know what origin header to attach, we attach the value > // for an empty origin. > request.setHTTPOrigin(SecurityOrigin::createUnique()->toString()); > return; > } >+#endif > > request.setHTTPOrigin(origin); > }
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 186441
:
342325
|
342330
|
342332
|
342454
|
342461