FIX: Content-Disposition: Attachment Saves Wrong Filename for Unknown Extension (262042)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 5
This article was previously published under Q262042 SYMPTOMS
Developers can return a file from Internet Information Server with a "Content-disposition: attachment" header to force a "Save As" operation by Internet Explorer:
Content-disposition: attachment; filename=newName.zzz
If the filename contains an extension unknown to the client computer that is receiving the file (an extension not mapped to any MIME type) Internet Explorer prompts the user to save the file with a double extension. In this example, "newName.zzz" would be saved as "newName.zzz..zzz".
RESOLUTION
There is no known resolution for Internet Explorer 5.0.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
This bug was corrected in Internet Explorer 5.01. REFERENCESFor more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
Modification Type: | Major | Last Reviewed: | 5/11/2006 |
---|
Keywords: | kbBug kbfix kbie501fix kbNavigation KB262042 |
---|
|