[
https://issues.apache.org/jira/browse/CB-5395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894949#comment-13894949
]
Ian Clelland commented on CB-5395:
----------------------------------
Removing "Android" from the title, as it affects the iOS whitelist
implementation as well.
I'm adding code to do case-insensitive matching on scheme and host parts
(leaving the path case-sensitive).
> Cordova whitelist fails for upper-case characters
> -------------------------------------------------
>
> Key: CB-5395
> URL: https://issues.apache.org/jira/browse/CB-5395
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, iOS
> Affects Versions: 3.1.0
> Reporter: Marcus Pridham
> Assignee: Ian Clelland
>
> In my config.xml, I have:
> <access origin="*.host.com" />
> {code}
> if (!Config.isUrlWhiteListed("http://Test.host.com"))
> {
> System.out.println("I should be whitelisted!!!");
> }
>
> if (Config.isUrlWhiteListed("http://test.host.com"))
> {
> System.out.println("I am whitelisted.");
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)