[Bug 677860] New: /etc/mime.types lacks Microsoft Office 2007 file types
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.
https://bugzilla.novell.com/show_bug.cgi?id=677860 https://bugzilla.novell.com/show_bug.cgi?id=677860#c zj jia <zjjia@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@novell.com AssignedTo|bnc-team-screening@forge.pr |ro@novell.com |ovo.novell.com | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=677860 https://bugzilla.novell.com/show_bug.cgi?id=677860#c1 Mathias Homann <admin@eregion.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |admin@eregion.de --- Comment #1 from Mathias Homann <admin@eregion.de> 2012-03-08 13:16:38 UTC --- this seems to be quite complicated. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=677860 https://bugzilla.novell.com/show_bug.cgi?id=677860#c2 --- Comment #2 from Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 2012-03-08 13:55:47 UTC --- These eight lines are still missing from /etc/mime.types in openSUSE 12.1. (Nothing complicated.) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=677860 https://bugzilla.novell.com/show_bug.cgi?id=677860#c3 Danilo Godec <danilo.godec@agenda.si> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |danilo.godec@agenda.si --- Comment #3 from Danilo Godec <danilo.godec@agenda.si> 2012-03-08 14:07:23 UTC --- maybe there's a legal issue - has MS patended and licensed these lines? :) Since this is a 'general purpose' file, maybe more types should be added: application/vnd.openxmlformats-officedocument.wordprocessingml.document docx application/vnd.ms-word.document.macroEnabled.12 docm application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx application/vnd.ms-word.template.macroEnabled.12 dotm application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx application/vnd.ms-excel.sheet.macroEnabled.12 xlsm application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx application/vnd.ms-excel.template.macroEnabled.12 xltm application/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsb application/vnd.ms-excel.addin.macroEnabled.12 xlam application/vnd.openxmlformats-officedocument.presentationml.presentation pptx application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx application/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsm application/vnd.openxmlformats-officedocument.presentationml.template potx application/vnd.ms-powerpoint.template.macroEnabled.12 potm application/vnd.ms-powerpoint.addin.macroEnabled.12 ppam application/vnd.openxmlformats-officedocument.presentationml.slide sldx application/vnd.ms-powerpoint.slide.macroEnabled.12 sldm application/onenote one application/onenote onetoc2 application/onenote onetmp application/onenote onepkg application/vnd.ms-officetheme thmx As listed by Microsoft on http://technet.microsoft.com/en-us/library/ee309278%28v=office.12%29.aspx . -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=677860 https://bugzilla.novell.com/show_bug.cgi?id=677860#c4 Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Basesystem |Basesystem AssignedTo|ro@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com Product|openSUSE 11.3 |openSUSE 12.1 --- Comment #4 from Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 2012-03-08 14:52:42 UTC --- Microsoft's longer list posted by Danilo contains some more exotic extensions that I've never seen in the wild, so to be conservative and keep it simple, I had shortened it in my original proposal to eight very commonly used formats that I've actually seen, and whose absence has actually caused puzzling malfunctions for Windows users on at least one real-world openSUSE hosted web site here in Cambridge. I'm not advocating to add Microsoft's full list, but I have no objections to it either. (Does anyone know what the "macroEnabled.12" formats do exactly, or why onenote lacks the "vnd." prefix usually required for vendor-specific formats not assigned by a standards-track RFC?) http://blogs.msdn.com/b/vsofficedeveloper/archive/2008/05/08/office-2007-ope... -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=677860 https://bugzilla.novell.com/show_bug.cgi?id=677860#c5 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |aj@suse.com |ovo.novell.com | --- Comment #5 from Andreas Jaeger <aj@suse.com> 2012-03-20 14:53:54 UTC --- Taking the bug... -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=677860 https://bugzilla.novell.com/show_bug.cgi?id=677860#c6 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #6 from Andreas Jaeger <aj@suse.com> 2012-03-20 14:56:33 UTC --- This is fixed in current aaa_base package for openSUSE 12.2. They were added with a reference to bnc#720464 -- 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.
participants (1)
-
bugzilla_noreply@novell.com