From 4b38642fe78a2934a6ac5452c7583ae9a6da15ed Mon Sep 17 00:00:00 2001 From: Paolo Barbolini Date: Sat, 2 Jan 2021 19:47:47 +0100 Subject: [PATCH] Fix mimetype of pptx --- src/map.rs | 2 +- tests/doc.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/map.rs b/src/map.rs index 1628cbd..1239571 100644 --- a/src/map.rs +++ b/src/map.rs @@ -327,7 +327,7 @@ matcher_map!( ), ( MatcherType::DOC, - "application/application/vnd.openxmlformats-officedocument.presentationml.presentation", + "application/vnd.openxmlformats-officedocument.presentationml.presentation", "pptx", matchers::doc::is_pptx ), diff --git a/tests/doc.rs b/tests/doc.rs index d0fc599..a8f5c8c 100644 --- a/tests/doc.rs +++ b/tests/doc.rs @@ -20,7 +20,7 @@ test_format!( test_format!( DOC, - "application/application/vnd.openxmlformats-officedocument.presentationml.presentation", + "application/vnd.openxmlformats-officedocument.presentationml.presentation", "pptx", pptx, "sample.pptx"