]> granicus.if.org Git - file/commitdiff
PR/57: Also look for docProps
authorChristos Zoulas <christos@zoulas.com>
Fri, 18 Jan 2019 15:39:18 +0000 (15:39 +0000)
committerChristos Zoulas <christos@zoulas.com>
Fri, 18 Jan 2019 15:39:18 +0000 (15:39 +0000)
magic/Magdir/msooxml

index b7388f2d62bd9279e6e3d427a5cd0d67c4afdc65..9253862daa62bc714f5a6abf0eb73385bfb89a02 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: msooxml,v 1.10 2018/10/08 18:25:25 christos Exp $
+# $File: msooxml,v 1.11 2019/01/18 15:39:18 christos Exp $
 # msooxml:  file(1) magic for Microsoft Office XML
 # From: Ralf Brown <ralf.brown@gmail.com>
 
@@ -25,7 +25,7 @@
 !:strength +10
 # make sure the first file is correct
 >0x1E          use             msooxml
->0x1E          regex           \\[Content_Types\\]\\.xml|_rels/\\.rels
+>0x1E          regex           \\[Content_Types\\]\\.xml|_rels/\\.rels|docProps
 # skip to the second local file header
 # since some documents include a 520-byte extra field following the file
 # header, we need to scan for the next header