Bug 25578
Summary: | Safari adds ".html" to downloaded file despite Content Disposition header | ||
---|---|---|---|
Product: | WebKit | Reporter: | Rob Lewis <groblewis> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | alex, cdumez |
Priority: | P2 | ||
Version: | 525.x (Safari 3.2) | ||
Hardware: | Mac | ||
OS: | All |
Rob Lewis
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)
*** Bug 25580 has been marked as a duplicate of this bug. ***
Alexander Romanovich
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
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
rdar://7533251
Lucas Forschler
Mass moving XML DOM bugs to the "DOM" Component.