WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Allan Sandfeld Jensen
Comment 1
2012-11-22 04:47:15 PST
Created
attachment 175647
[details]
Patch
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
Committed
r135511
: <
http://trac.webkit.org/changeset/135511
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug