milesj/cake-uploader — Issue #33: Upload fails if browser sends incorrect type in $_FILES array
Author: mikebirch
Created: 2011-12-13 23:38:18+00:00
State: open

I had a problem with Firefox 7.0.1 on Mac sending a mime type of "application/zip" for pdf files. This caused checkMimeType to return false.
My fix was to use self::mimeType in the checkMimeType method to set $currType.