Bug 51137 - Please add MIME types for xslx, xslm, docx, docm since xls and doc already contained in web.xml have been replaced by these.
Summary: Please add MIME types for xslx, xslm, docx, docm since xls and doc already co...
Alias: None
Product: Tomcat 7
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 7.0.10
Hardware: PC All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2011-04-29 16:49 UTC by Guido Leenders
Modified: 2011-05-03 12:21 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Guido Leenders 2011-04-29 16:49:31 UTC
Could the following MIME types be added to conf/web.xml?

docm application/vnd.ms-word.document.macroEnabled.12
docx application/vnd.openxmlformats-officedocument.wordprocessingml.document
dotx application/vnd.openxmlformats-officedocument.wordprocessingml.template
potm application/vnd.ms-powerpoint.template.macroEnabled.12
potx application/vnd.openxmlformats-officedocument.presentationml.template
ppam application/vnd.ms-powerpoint.addin.macroEnabled.12
ppsm application/vnd.ms-powerpoint.slideshow.macroEnabled.12
ppsx application/vnd.openxmlformats-officedocument.presentationml.slideshow
pptm application/vnd.ms-powerpoint.presentation.macroEnabled.12
pptx application/vnd.openxmlformats-officedocument.presentationml.presentation
xlam application/vnd.ms-excel.addin.macroEnabled.12
xlsb application/vnd.ms-excel.sheet.binary.macroEnabled.12
xlsm application/vnd.ms-excel.sheet.macroEnabled.12
xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
xltm application/vnd.ms-excel.template.macroEnabled.12
xltx application/vnd.openxmlformats-officedocument.spreadsheetml.template
Comment 1 Mark Thomas 2011-04-29 16:52:45 UTC
Enhancement requests where patches are provided (in diff -u format) tend to get addressed quicker than enhancement requests without patches
Comment 2 Rainer Jung 2011-05-03 12:21:05 UTC
The MIME type mappings have mostly been synced with the oned from Apache web server. Especially the types proposed here should now be part of the Tomcat MIME type mappings.

The new mappings have been added in r1099020 and will be part of TC 7.0.13.