WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
25578
Safari adds ".html" to downloaded file despite Content Disposition header
https://bugs.webkit.org/show_bug.cgi?id=25578
Summary
Safari adds ".html" to downloaded file despite Content Disposition header
Rob Lewis
Reported
2009-05-05 15:15:18 PDT
Trying to download a small XML file to be saved by the browser. Its MIME type is "application/x-madx" and its Content Disposition header declares an explicit filename like "MyFile.madx". In spite of this, Safari downloads the file as "MyFile.madx.html". FireFox handles it correctly, saving the file as "MyFile.madx".
Attachments
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2009-05-06 00:17:37 PDT
***
Bug 25580
has been marked as a duplicate of this bug. ***
Alexander Romanovich
Comment 2
2010-01-11 11:59:19 PST
I hit this one today, unfortunately (release and
r53036
). Are there any workarounds? I'm going to tell my application to send application/force-download for WebKit users for now... Note that in the original description, I don't think the specific mime type being sent matters, the result is always the same.
Alexey Proskuryakov
Comment 3
2010-01-11 17:01:25 PST
This issue is not in open source WebKit, please report it to Apple via <
http://bugreport.apple.com
> (free registration required). Sorry that we overlooked this bug when it was filed originally.
Alexander Romanovich
Comment 4
2010-01-12 06:22:17 PST
rdar://7533251
Lucas Forschler
Comment 5
2019-02-06 09:03:10 PST
Mass moving XML DOM bugs to the "DOM" Component.
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