[
https://issues.apache.org/jira/browse/CB-2185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13549882#comment-13549882
]
Simon MacDonald commented on CB-2185:
-------------------------------------
Joe, if you change FileUtils line 1031 from:
return map.getMimeTypeFromExtension(extension);
to this:
return map.getMimeTypeFromExtension(extension.toLowerCase());
this bug should be fixed.
> Cordova can't find the mime type for jpegs which have an upper case JPG
> extension (like ones from an iPhone)
> ------------------------------------------------------------------------------------------------------------
>
> Key: CB-2185
> URL: https://issues.apache.org/jira/browse/CB-2185
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.3.0
> Reporter: Joe Bowser
> Assignee: Joe Bowser
> Fix For: 2.4.0
>
>
> 1. Copy a JPEG with the extension in upper case
> 2. Go to mobile-spec, open the Camera page, then select that image from the
> gallery
> Expected: It should appear
> What happens: The image doesn't appear because for some reason JPG isn't on
> the map while lower case jpg is. I have no idea why this is the case, but
> this caused many false positives on CB-2093
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira