RESOLVED FIXED 169066
Download attribute set to "*\" save file with name "example.com"
https://bugs.webkit.org/show_bug.cgi?id=169066
Summary Download attribute set to "*\" save file with name "example.com"
Chris Dumez
Reported 2017-03-01 20:31:32 PST
Download attribute set to "*\" save file with name "example.com"
Attachments
Patch (9.38 KB, patch)
2017-03-01 20:39 PST, Chris Dumez
no flags
Patch (9.38 KB, patch)
2017-03-02 09:05 PST, Chris Dumez
no flags
Patch (1.80 KB, patch)
2017-03-05 16:55 PST, Chris Dumez
no flags
Chris Dumez
Comment 1 2017-03-01 20:32:25 PST
Chris Dumez
Comment 2 2017-03-01 20:39:20 PST
Alex Christensen
Comment 3 2017-03-01 23:24:27 PST
Comment on attachment 303168 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=303168&action=review > Source/WebCore/platform/network/ResourceResponseBase.cpp:234 > + String escapedSuggestedFilename = String(suggestedFilename).replace("\\", "\\\\").replace('\"', "\\\""); '\\' might be slightly more efficient than "\\"
Chris Dumez
Comment 4 2017-03-02 09:03:43 PST
(In reply to comment #3) > Comment on attachment 303168 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=303168&action=review > > > Source/WebCore/platform/network/ResourceResponseBase.cpp:234 > > + String escapedSuggestedFilename = String(suggestedFilename).replace("\\", "\\\\").replace('\"', "\\\""); > > '\\' might be slightly more efficient than "\\" This is an excellent point. I'll fix before landing.
Chris Dumez
Comment 5 2017-03-02 09:05:02 PST
WebKit Commit Bot
Comment 6 2017-03-02 09:54:09 PST
Comment on attachment 303203 [details] Patch Clearing flags on attachment: 303203 Committed r213284: <http://trac.webkit.org/changeset/213284>
WebKit Commit Bot
Comment 7 2017-03-02 09:54:13 PST
All reviewed patches have been landed. Closing bug.
Darin Adler
Comment 8 2017-03-05 12:26:04 PST
Comment on attachment 303203 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=303203&action=review > Source/WebCore/platform/network/ResourceResponseBase.cpp:234 > + String escapedSuggestedFilename = String(suggestedFilename).replace('\\', "\\\\").replace('\"', "\\\""); There’s an extra unneeded backslash here (was already here before the patch). It should be '"', not '\"'.
Chris Dumez
Comment 9 2017-03-05 16:55:50 PST
Reopening to attach new patch.
Chris Dumez
Comment 10 2017-03-05 16:55:58 PST
WebKit Commit Bot
Comment 11 2017-03-05 17:37:56 PST
Comment on attachment 303485 [details] Patch Clearing flags on attachment: 303485 Committed r213439: <http://trac.webkit.org/changeset/213439>
WebKit Commit Bot
Comment 12 2017-03-05 17:38:01 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.