]> granicus.if.org Git - file/commitdiff
fix mime types. (Thomas Ledoux)
authorChristos Zoulas <christos@zoulas.com>
Fri, 25 Jan 2013 23:04:37 +0000 (23:04 +0000)
committerChristos Zoulas <christos@zoulas.com>
Fri, 25 Jan 2013 23:04:37 +0000 (23:04 +0000)
magic/Magdir/msooxml

index 6f19559e9daac5d0c4f288b5c0ef0f2a7bf51ebf..ad0ea7687952fa9921b1a64aba2636704cfacccc 100644 (file)
 >>>&26          search/1000     PK\003\004
 # and check the subdirectory name to determine which type of OOXML
 #   file we have
+#   Correct the mimetype with the registered ones:
+#     http://technet.microsoft.com/en-us/library/cc179224.aspx
 >>>>&26         string          word/           Microsoft Word 2007+
-!:mime application/msword
+!:mime application/vnd.openxmlformats-officedocument.wordprocessingml.document
 >>>>&26         string          ppt/            Microsoft PowerPoint 2007+
-!:mime application/vnd.ms-powerpoint
+!:mime application/vnd.openxmlformats-officedocument.presentationml.presentation
 >>>>&26         string          xl/             Microsoft Excel 2007+
-!:mime application/vnd.ms-excel
+!:mime application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
 >>>>&26         default         x               Microsoft OOXML
 !:strength +10