https://bugzilla.novell.com/show_bug.cgi?id=677860 https://bugzilla.novell.com/show_bug.cgi?id=677860#c0 Summary: /etc/mime.types lacks Microsoft Office 2007 file types Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: All OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Markus.Kuhn@cl.cam.ac.uk QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=418175) --> (http://bugzilla.novell.com/attachment.cgi?id=418175) patch to add Microsoft Office 2007 file extensions to /etc/mime.types User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.14) Gecko/20110221 Ubuntu/10.04 (lucid) Firefox/3.6.14 Eight widely used filename extensions introduced by Microsoft Office 2007 are missing in file /etc/mime.types in package aaa_base. This causes problems if such files are downloaded by Windows/Office users from an openSUSE 11.3 Apache server. Reproducible: Always Steps to Reproduce: 1. Place a Microsoft Office 2007 Word file with *.docx extension onto a web site hosted by the out-of-the-box openSUSE 11.3 Apache web server 2. Access this file using Internet Explorer 8 from Windows XP with Office 2007 installed 3. Use "curl -I <url>" to check the Content-Type HTTP header line in the response. Actual Results: Internet Explorer offers to unzip the file, showing the user the XML inner guts of a *.docx file, rather than the expected Word document. The curl -I test shows that Apache serves the *.docx file with the incorrect HTTP header line "Content-Type: text/plain". Expected Results: The correct HTTP header line "Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document" should have been used by Apache for a *.docx file, which would have caused Internet Explorer to start Microsoft Word to open the file. The cause of the problem was easily identified: The now widely used "Office Open XML" document filename extensions of Microsoft Office 2007 (*.docx, *.pptx, etc.) are not known to Apache, because they are missing in /etc/mime.types. This causes the incorrect MIME type text/plain to be returned in the HTTP header if a user downloads a *.docx file from an openSUSE 11.3 Apache server, leading to undesirable behaviour in Windows web browsers. Solution: Please add to the file /etc/mime.types in the aaa_base package the following eight lines: application/vnd.openxmlformats-officedocument.presentationml.presentation pptx application/vnd.openxmlformats-officedocument.presentationml.slide sldx application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx application/vnd.openxmlformats-officedocument.presentationml.template potx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx application/vnd.openxmlformats-officedocument.wordprocessingml.document docx application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx A patch to do this is attached. (alphabetical sorting order is preserved) References: http://support.microsoft.com/kb/936496 http://www.iana.org/assignments/media-types/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.