You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2013/01/19 01:44:12 UTC

[jira] [Commented] (CB-2269) Whitelisting is broken on Android following creation of Config class

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

Joe Bowser commented on CB-2269:
--------------------------------

Did a spot fix on this, probably needs more work done: 
https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=commit;h=2b32dfd99da46474122afecee16f7473a4c6e720
https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=commit;h=dbfe12a9933632700fc5e220777bc617c2356670

I may close this and open another one about redirects. So far only URLs that don't redirect seem to work.  This needs more testing before closing.
                
> Whitelisting is broken on Android following creation of Config class
> --------------------------------------------------------------------
>
>                 Key: CB-2269
>                 URL: https://issues.apache.org/jira/browse/CB-2269
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.4.0
>            Reporter: Joe Bowser
>            Assignee: Braden Shepherdson
>            Priority: Blocker
>             Fix For: 2.4.0
>
>
> The whitelist doesn't appear to be created, and as such everything is blacklisted instead because the config associated with the static method is null.  We need to call init() on the Config somewhere in our code, most likely DroidGap.java, since most of our users when upgrading will just drop in the JAR, and will not modify their Java code.
> Also, even when the Config.init() method is called, the whitelisting still fails.  Currently only the whitelisting lives in the class, and luckily there is separate code for the loading of the plugins.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira