[ https://issues.apache.org/jira/browse/CB-5991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894954#comment-13894954 ]
ASF subversion and git services commented on CB-5991: ----------------------------------------------------- Commit a8e4f69f2dd74f56cb0f09587309de1a24c2806d in branch refs/heads/master from [~iclelland] [ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=a8e4f69 ] CB-5991: Test path matching in whitelist implementations > 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 > Components: iOS > 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)