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)