Details
-
Improvement
-
Resolution: Duplicate
-
Major
-
None
-
None
-
None
-
Unknown
-
Description
On IE, downloading MS office template documents is considered as zip files. Same issue has already been resolved for normal office documents. To fix this for template documents, we would need to update web.xml file by adding the following :
<mime-mapping> <extension>dot</extension> <mime-type>application/msword</mime-type> </mime-mapping> <mime-mapping> <extension>xlt</extension> <mime-type>application/vnd.ms-excel</mime-type> </mime-mapping> <mime-mapping> <extension>pot</extension> <mime-type>application/vnd.ms-powerpoint</mime-type> </mime-mapping> <mime-mapping> <extension>dotx</extension> <mime-type>application/vnd.openxmlformats-officedocument.wordprocessingml.template</mime-type> </mime-mapping> <mime-mapping> <extension>xltx</extension> <mime-type>application/vnd.openxmlformats-officedocument.spreadsheetml.template</mime-type> </mime-mapping> <mime-mapping> <extension>potx</extension> <mime-type>application/vnd.openxmlformats-officedocument.presentationml.template</mime-type> </mime-mapping>
This has been tested ok on a XEM 2.5.1 (windows server / Apache Tomcat 6) and XE 3.2 (windows / jetty).
Attachments
Issue Links
- duplicates
-
XWIKI-3249 Servlet container dependent mimetypes for attachments
- Closed
-
XWIKI-7092 Add in a web.xml MIME-types for all formats for MSOffice2007 and OpenOffice.org (now have only some of them)
- Closed