Skip to content

Wrong imagetype in export #26

@Rillke

Description

@Rillke

The export defaults the imagetype to image/jpeg if the file does not end in gif or png.

However, you can upload foo.PNG. A perfectly valid PNG file that will be classified as <fieldlabel>imagetype</fieldlabel><fieldentry>image/jpeg</fieldentry> in the exported XML.

Maybe use gd here to determine the type as the rest of the plugin does or make the regexp case insensitive?

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