ZF-8564: Zend_Service_Amazon_S3::getMimeType() should use strtolower on extension to detect path like moo.JPG
Description
Zend_Service_Amazon_S3::getMimeType() is best effort function anyhow. It's not something reliable so it can at least try to be more forgiving to input.
I belive it should do $ext = strtolower($ext)
Doing that it will successfully consider moo.JPG of type image/jpeg and not binary/octet-stream as is now. Cheers
Comments
Posted by Julian Davchev (jmut) on 2009-12-17T03:30:59.000+0000
Updating component to Zend_Service_Amazon
Posted by Satoru Yoshida (satoruyoshida) on 2009-12-20T19:46:31.000+0000
Solved in SVN trunk r19824