Details
-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
3.6.7
-
None
-
Version: 3.6.7
PHP Version: 4.3.9
Webserver: Apache 2.0.52
Database: Mysql
Description
I noticed that /lib/ezutils/classes/ezmimetype.php misses a mimetype which is becoming important.
I'm using flash videos on my website, so I created a custom class which loads a flv player, the user only has to upload a FLV file, but ezPublish assigns application/octet-stream to the file instead of attaching it to the proper custom class.
I added the following line to ezmimetype.php
array( 'flv', 'video/x-flv' )
Now it works fine, I'm asking you to kindly add it to future revisions of ezPublish.
Maybe it could be useful to put those mime types in an external configuration file that a user could extend with his own mimetypes?
Thank you in advance,
Max
Attachments
Issue Links
- relates to
-
EZP-10424 Move file extension to MIME type mapping to an INI file
- Closed