Skip to content

Incorrect file type identification #2

@Eitz

Description

@Eitz

Had this problem while trying to convert files with extensions .docx.

The problem is that both .doc and .docx are giving the same mime output with File::LibMagic at _getTypeFromMIME:

Doc: application/msword; charset=binary
Docx: application/msword; charset=binary

This leads to a problem converting DOCx files as the module tries to convert them as they were DOCs. This is a very good module but this problem won't let me use it. Other thing that perhaps is a problem is that I can't specify and force an extension for it to convert.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions