[ 
https://issues.apache.org/jira/browse/CB-5395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894959#comment-13894959
 ] 

ASF subversion and git services commented on CB-5395:
-----------------------------------------------------

Commit 137eb40fabb22a16c6776eee1367f6ed73a71751 in branch refs/heads/master 
from [~iclelland]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=137eb40 ]

CB-5395: Make scheme and host (but not path) case-insensitive in whitelist


> 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)

Reply via email to