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

iOS whitelist fails to handle path prefixes ending with "/"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • cordova-ios
    • None

    Description

      On iOS, NSURL will strip a trailing "/" from a URL when requesting the path component.

      This means that a whitelist which includes a URL pattern like "http://www.adobe.org/foo/*" will incorrectly fail to match the URL "http://www.adobe.org/foo/", because NSURL will claim that the path component is "/foo" and not "/foo/".

      Attachments

        Activity

          People

            iclelland Ian Clelland
            iclelland Ian Clelland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: