From: Christos Zoulas Date: Fri, 25 Jan 2013 23:04:37 +0000 (+0000) Subject: fix mime types. (Thomas Ledoux) X-Git-Tag: FILE5_13~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55feed3e2aa02d3172abddf24c37103bb92e7a8d;p=file fix mime types. (Thomas Ledoux) --- diff --git a/magic/Magdir/msooxml b/magic/Magdir/msooxml index 6f19559e..ad0ea768 100644 --- a/magic/Magdir/msooxml +++ b/magic/Magdir/msooxml @@ -23,11 +23,13 @@ >>>&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