mimetype icon indicating copy to clipboard operation
mimetype copied to clipboard

Mismatched MIME type detected for password protected docx, pttx, xlsx

Open EranOfer opened this issue 1 year ago • 0 comments

Attach the file for which the detection is inaccurate

protected_xlsx.xlsx

protected_docx.docx

Expected MIME type

xlsx , docx, pptx

Returned MIME type

application/vnd.ms-powerpoint .ppt

Version of the library you are using

github.com/gabriel-vasile/mimetype v1.4.3

Output of go version

go version go1.20.6 darwin/amd64

Additional context

I notice there is a problem with detecting lock xlsx , docx, pptx they are detected as ppt

EranOfer avatar Jan 30 '24 12:01 EranOfer