Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-3067

iOS 5.0 file urls are not passing whitelist due to recent changes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.7.0
    • 2.7.0
    • cordova-ios
    • None

    Description

      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.

      Attachments

        Activity

          People

            mmocny Michal Mocny
            mmocny Michal Mocny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: