You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ian Clelland (JIRA)" <ji...@apache.org> on 2014/02/07 20:50:19 UTC

[jira] [Created] (CB-5991) iOS whitelist fails to handle path prefixes ending with "/"

Ian Clelland created CB-5991:
--------------------------------

             Summary: iOS whitelist fails to handle path prefixes ending with "/"
                 Key: CB-5991
                 URL: https://issues.apache.org/jira/browse/CB-5991
             Project: Apache Cordova
          Issue Type: Bug
            Reporter: Ian Clelland
            Assignee: Ian Clelland


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/}}".



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)