Skip to content

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

@EranOfer

Description

@EranOfer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions