[ 
https://issues.apache.org/jira/browse/CB-3067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michal Mocny resolved CB-3067.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.0

commit: ee358070789d618beae18439473f29224d9d1165

Fixed with a low road solution of supporting file:// protocol in the list of 
default whitelist protocols.

File urls will still need to pass the whitelist on iOS5.  Looking in to if this 
behaviour changed to confirm.
                
> iOS 5.0 file urls are not passing whitelist due to recent changes
> -----------------------------------------------------------------
>
>                 Key: CB-3067
>                 URL: https://issues.apache.org/jira/browse/CB-3067
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.7.0
>            Reporter: Michal Mocny
>            Assignee: Michal Mocny
>            Priority: Blocker
>             Fix For: 2.7.0
>
>
> File urls are handles inside the CDVViewController, not the whitelist, but on 
> iOS5 user agent is passed for file url so we also check the whitelist later 
> to make sure the url is allowed.  It now fails since the URLIsAllowed 
> functions checks for scheme now.
> I think all the CDVViewController checks should be moved to the whitelist, 
> and we wont have any of these issues.

--
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

Reply via email to