As I said on my blog (see the URL field), if an attachment is named "attachment.txt" (or "attachment.html", etc...), IE 6 and IE8 (and I guess IE7 too) automatically download the attachment instead of displaying it inline. They totally ignore the MIME type. Bug "attachment.txt" is the name I used for attachments created by pasting text into the text field, see bug 119703. So we must choose a better name, e.g. "file.txt", which doesn't confuse IE.
Created attachment 462573 [details] [diff] [review] patch, v1 Appending the bug ID generates some randomness which will prevent too many files to have the same name, just in case.
Attachment #462573 - Flags: review+
Committing to: bzr+ssh://email@example.com/bugzilla/trunk/ modified attachment.cgi modified post_bug.cgi Committed revision 7422.
Status: ASSIGNED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.