When IE downloads files with the docx (xlsx, pptx) extension, the extension is automatically changed to zip.
When we download files with extensions such as dotx, docx, pot, xlsx, and pptx from a Web server such as IIS or Tomcat through a binary stream, if the downloaded files become zip files, in IE, if the MIME with the corresponding suffix cannot be found, the object type is automatically determined based on the data stream, microsoft has processed the Office2007 format completely different from the previous one.
Previous Office documents were in the binary format of 100%. Third-party tools are very inconvenient to operate, while Office2007 is based on XML format as a whole. This does not mean that Office2007 documents can be saved in XML format. The default document format of Office2007 is XML (Word docx and Excel xlsx ). Docx is essentially a zip file with a series of xml, directories, and other files. If we change docx to zip. You can use software such as winzip to unbind it. For this reason, it is automatically recognized as a ZIP file when there is no corresponding Office2007 type in MIME.
To solve this problem, we need to make changes on the Server side, that is, the computer on our client side is no problem.
Solution:
Open the IE 9 browser and click "tools-Internet Options-security-Trusted Sites-Custom Level-others-enable MIME profiling (IE8: open files based on content instead of file extensions, if IE is traditional: Miscellaneous-enable the file based on the content instead of the sub-file name) ", set it to" disabled ". (Open files based on content, not file extension ).
From brian0031