[File] [PATCH] Fix mangled MIME types in msooxml

Christos Zoulas christos at zoulas.com
Fri Jul 19 18:48:47 UTC 2024


Fixed, thanks!

christos

> On Jul 17, 2024, at 1:22 AM, Anthony Steinhauser <asteinhauser at google.com> wrote:
> 
> Processing file from:
> https://bitbucket.org/okapiframework/okapi/raw/ecf3a6be4d13bad9e7bb11b4196cd6ab2bc30ed1/okapi/filters/openxml/src/test/resources/1046.pptx
> currently returns invalid MIME type:
> application/vnd.openxmlformats-officedocument.presentationml.presentationapplication/vnd.openxmlformats-officedocument.presentationml.presentation 
> 
> ---
> magic/Magdir/msooxml | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/magic/Magdir/msooxml b/magic/Magdir/msooxml
> index 79284f50..94f26ae7 100644
> --- a/magic/Magdir/msooxml
> +++ b/magic/Magdir/msooxml
> @@ -56,8 +56,9 @@
>>>>>>>>>> &26	search/6000	PK\003\004
>>>>>>>>>>> &26	use		msooxml
>>>>>>>>>>> &26	default		x
> ->>>>>>>>>>&26	search/6000	PK\003\004
> ->>>>>>>>>>>&26	use		msooxml
> +>>>>>>>>>>>&26	search/6000	PK\003\004
> +>>>>>>>>>>>>&26	use		msooxml
> +>>>>>>>>>>>>&26	default		x		Microsoft OOXML
>>>>>>>>>>>> &26	default		x		Microsoft OOXML
>>>>>>>>>>> &26	default		x		Microsoft OOXML
>>>>>>>>>> &26	default		x		Microsoft OOXML
> -- 
> 2.45.2.993.g49e7a77208-goog



More information about the File mailing list