Title: [213159] branches/safari-603-branch/Source/WebCore
Revision
213159
Author
matthew_han...@apple.com
Date
2017-02-28 11:37:00 -0800 (Tue, 28 Feb 2017)

Log Message

Merge r213077. rdar://problem/30704432

Modified Paths

Diff

Modified: branches/safari-603-branch/Source/WebCore/ChangeLog (213158 => 213159)


--- branches/safari-603-branch/Source/WebCore/ChangeLog	2017-02-28 19:36:56 UTC (rev 213158)
+++ branches/safari-603-branch/Source/WebCore/ChangeLog	2017-02-28 19:37:00 UTC (rev 213159)
@@ -1,5 +1,24 @@
 2017-02-28  Matthew Hanson  <matthew_han...@apple.com>
 
+        Merge r213077. rdar://problem/30704432
+
+    2017-02-27  Matthew Hanson  <matthew_han...@apple.com>
+
+            Merge r212987. rdar://problem/30704432
+
+        2017-02-24  Chris Dumez  <cdu...@apple.com>
+
+                Unreviewed, follow-up fix after r212972.
+
+                Fixes a few assertions on the debug build bots.
+                URL needs to be exactly the same as the parsed one given
+                that we are calling the ParsedURLString constructor.
+
+                * platform/network/ResourceResponseBase.cpp:
+                (WebCore::ResourceResponseBase::sanitizeSuggestedFilename):
+
+2017-02-28  Matthew Hanson  <matthew_han...@apple.com>
+
         Merge r213076. rdar://problem/30704432
 
     2017-02-27  Matthew Hanson  <matthew_han...@apple.com>

Modified: branches/safari-603-branch/Source/WebCore/platform/network/ResourceResponseBase.cpp (213158 => 213159)


--- branches/safari-603-branch/Source/WebCore/platform/network/ResourceResponseBase.cpp	2017-02-28 19:36:56 UTC (rev 213158)
+++ branches/safari-603-branch/Source/WebCore/platform/network/ResourceResponseBase.cpp	2017-02-28 19:37:00 UTC (rev 213159)
@@ -229,7 +229,7 @@
     if (suggestedFilename.isEmpty())
         return suggestedFilename;
 
-    ResourceResponse response(URL(ParsedURLString, "http://example.com"), String(), -1, String());
+    ResourceResponse response(URL(ParsedURLString, "http://example.com/"), String(), -1, String());
     response.setHTTPStatusCode(200);
     String escapedSuggestedFilename = String(suggestedFilename).replace('\"', "\\\"");
     String value = makeString("attachment; filename=\"", escapedSuggestedFilename, '"');
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to