cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon MacDonald (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-2185) Cordova can't find the mime type for jpegs which have an upper case JPG extension (like ones from an iPhone)
Date Thu, 10 Jan 2013 19:40:13 GMT

    [ https://issues.apache.org/jira/browse/CB-2185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13549974#comment-13549974
] 

Simon MacDonald commented on CB-2185:
-------------------------------------

[~bowserj] I don't think you should make the whole url lower case. The Android file system
can be case sensitive so you might end up not being able to find the file if one of the directories
has an upper case letter. I believe it is safer just to do lower case on the extension.
                
> 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

Mime
View raw message