[Curl][WebKit] Bugfix on redirect.
authorBasuke.Suzuki@sony.com <Basuke.Suzuki@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Aug 2018 18:13:01 +0000 (18:13 +0000)
committerBasuke.Suzuki@sony.com <Basuke.Suzuki@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Aug 2018 18:13:01 +0000 (18:13 +0000)
https://bugs.webkit.org/show_bug.cgi?id=189056

Reviewed by Alex Christensen.

Forget to call updateFromDelegatePreservingOldProperties in continueWillSendRequest like other ports do.

* NetworkProcess/NetworkLoad.cpp:
(WebKit::NetworkLoad::continueWillSendRequest):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@235510 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/NetworkProcess/NetworkLoad.cpp

index bd75611..314a2ec 100644 (file)
@@ -1,3 +1,15 @@
+2018-08-30  Basuke Suzuki  <Basuke.Suzuki@sony.com>
+
+        [Curl][WebKit] Bugfix on redirect.
+        https://bugs.webkit.org/show_bug.cgi?id=189056
+
+        Reviewed by Alex Christensen.
+
+        Forget to call updateFromDelegatePreservingOldProperties in continueWillSendRequest like other ports do.
+
+        * NetworkProcess/NetworkLoad.cpp:
+        (WebKit::NetworkLoad::continueWillSendRequest):
+
 2018-08-30  Aditya Keerthi  <akeerthi@apple.com>
 
         [macOS] Color picker layout is broken if suggested colors are specified
index 2a647dd..7b950f4 100644 (file)
@@ -149,7 +149,7 @@ void NetworkLoad::continueWillSendRequest(WebCore::ResourceRequest&& newRequest)
 {
 #if PLATFORM(COCOA)
     m_currentRequest.updateFromDelegatePreservingOldProperties(newRequest.nsURLRequest(HTTPBodyUpdatePolicy::DoNotUpdateHTTPBody));
-#elif USE(SOUP)
+#else
     // FIXME: Implement ResourceRequest::updateFromDelegatePreservingOldProperties. See https://bugs.webkit.org/show_bug.cgi?id=126127.
     m_currentRequest.updateFromDelegatePreservingOldProperties(newRequest);
 #endif