idlesign/ist-yii-cfile

Incorrect getMimeTypeByExtension behavior

Closed this issue · 0 comments

When invoking getMimeTypeByExtension and extension is not lowercase (as expected in system.utils.mimeTypes), check fails and method returns false. Test with a xxxx.JPG file.