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".
*** Bug 25580 has been marked as a duplicate of this bug. ***
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.
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.
rdar://7533251
Mass moving XML DOM bugs to the "DOM" Component.