You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Michal Mocny (JIRA)" <ji...@apache.org> on 2013/04/18 17:55:16 UTC

[jira] [Created] (CB-3067) iOS 5.0 file urls are not passing whitelist due to recent changes

Michal Mocny created CB-3067:
--------------------------------

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


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