RESOLVED FIXED 103054
[Qt] Correct extensions on preferredFilename
https://bugs.webkit.org/show_bug.cgi?id=103054
Summary [Qt] Correct extensions on preferredFilename
Allan Sandfeld Jensen
Reported 2012-11-22 04:37:11 PST
When downloading files we currently save using the original extension, but these extensions can often be wrong, either lacking or ending in .php. We can fix this by checking if the extension is valid and added add a valid one or correct the existing in the preferredFilename.
Attachments
Patch (4.23 KB, patch)
2012-11-22 04:47 PST, Allan Sandfeld Jensen
hausmann: review+
Allan Sandfeld Jensen
Comment 1 2012-11-22 04:47:15 PST
Simon Hausmann
Comment 2 2012-11-22 04:58:55 PST
Is there a http test for this, btw? Strong feeling there might :)
Allan Sandfeld Jensen
Comment 3 2012-11-22 05:51:14 PST
Note You need to log in before you can comment on or make changes to this bug.