Skip to content

Commit

Permalink
Check docProps in msooxml matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Apr 8, 2021
1 parent 3221954 commit b53188b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/matchers/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ fn msooxml(buf: &[u8]) -> Option<DocType> {

if !compare_bytes(buf, b"[Content_Types].xml", 0x1E)
&& !compare_bytes(buf, b"_rels/.rels", 0x1E)
&& !compare_bytes(buf, b"docProps", 0x1E)
{
return None;
}
Expand Down

0 comments on commit b53188b

Please sign in to comment.