From 4fd32ac92932207eaf974faa0d0aa1c7557e18dc Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Fri, 18 Jan 2019 15:39:18 +0000 Subject: [PATCH] PR/57: Also look for docProps --- magic/Magdir/msooxml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/magic/Magdir/msooxml b/magic/Magdir/msooxml index b7388f2d..9253862d 100644 --- a/magic/Magdir/msooxml +++ b/magic/Magdir/msooxml @@ -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 @@ -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 -- 2.40.0