[
https://issues.apache.org/jira/browse/CB-3067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13635497#comment-13635497
]
Michal Mocny commented on CB-3067:
----------------------------------
commit: 75ed2bb895c538112e138de26f03e3093dce298c
That next commit fixes so file urls are not scanned through whitelist unless
explicitly referenced in the whitelist access origins in config.xml. I broke
this behaviour in a previous patch and have reverted.
> 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