-
Notifications
You must be signed in to change notification settings - Fork 2
Wrong imagetype in export #26
Copy link
Copy link
Open
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels