Title: [263522] branches/safari-609.3.5.1-branch/Source/WebCore
Revision
263522
Author
[email protected]
Date
2020-06-25 11:21:25 -0700 (Thu, 25 Jun 2020)

Log Message

Apply patch. rdar://problem/64763027

Modified Paths


Diff

Modified: branches/safari-609.3.5.1-branch/Source/WebCore/ChangeLog (263521 => 263522)


--- branches/safari-609.3.5.1-branch/Source/WebCore/ChangeLog	2020-06-25 18:16:22 UTC (rev 263521)
+++ branches/safari-609.3.5.1-branch/Source/WebCore/ChangeLog	2020-06-25 18:21:25 UTC (rev 263522)
@@ -1,3 +1,19 @@
+2020-06-25  Alan Coon  <[email protected]>
+
+        Apply patch. rdar://problem/64763027
+
+    2020-06-25  Youenn Fablet  <[email protected]>
+
+            File URLs with hostnames are misleading
+            https://bugs.webkit.org/show_bug.cgi?id=212739
+            <rdar://problem/63754917>
+
+            Covered by API test WebKit.OpenFileURLWithHost no longer timing out on this branch.
+
+            * loader/DocumentLoader.cpp:
+            (WebCore::DocumentLoader::willSendRequest):
+            Use URL::removeHostAndPort as setHostAndPort({ }) is a no-op in this branch.
+
 2020-06-16  Russell Epstein  <[email protected]>
 
         Cherry-pick r263129. rdar://problem/64428805

Modified: branches/safari-609.3.5.1-branch/Source/WebCore/loader/DocumentLoader.cpp (263521 => 263522)


--- branches/safari-609.3.5.1-branch/Source/WebCore/loader/DocumentLoader.cpp	2020-06-25 18:16:22 UTC (rev 263521)
+++ branches/safari-609.3.5.1-branch/Source/WebCore/loader/DocumentLoader.cpp	2020-06-25 18:21:25 UTC (rev 263522)
@@ -649,7 +649,7 @@
 
     if (!newRequest.url().host().isEmpty() && SecurityOrigin::shouldIgnoreHost(newRequest.url())) {
         auto url = ""
-        url.setHostAndPort({ });
+        url.removeHostAndPort();
         newRequest.setURL(WTFMove(url));
     }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to