Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.1.0
-
None
Description
The function ezmimetype::findByName return a wrong suffix.
The correct suffix is not the first defined in mime.ini but the suffix of the original image.
[jpe] Types[]=image/jpeg [jpeg] Types[]=image/jpeg [jpg] Types[]=image/jpeg
This is a bad solution ... but it works!
[jpg] Types[]=image/jpeg [jpe] Types[]=image/jpeg [jpeg] Types[]=image/jpeg
Attachments
Issue Links
- relates to
-
EZP-14825 mimetype mapping should match on file extension as well as mime type (from #014652: Image alias create JPE file)
- Closed