You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Antony Lees (JIRA)" <ji...@apache.org> on 2012/12/05 11:09:00 UTC

[jira] [Updated] (CB-1947) Secure whitelisted URLs not loading in Android

     [ https://issues.apache.org/jira/browse/CB-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antony Lees updated CB-1947:
----------------------------

    Attachment: log.txt

logcat output
                
> Secure whitelisted URLs not loading in Android
> ----------------------------------------------
>
>                 Key: CB-1947
>                 URL: https://issues.apache.org/jira/browse/CB-1947
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.2.0
>         Environment: Android 2.3 and 4.2
>            Reporter: Antony Lees
>            Assignee: Joe Bowser
>         Attachments: log.txt
>
>
> Given the config
>     <access origin="http://127.0.0.1*"/> <!-- allow local pages -->
>     <access origin="https://mysite.com" subdomains="true"/>
>     <access origin="http://mysite.com" subdomains="true"/>
> I would expect both the http and https sites to load.  However only the unsecured http URL will load, the secure https URL shows an HTML error page (it's an iframe)
> Even if I add
>     <access origin="*"/>
> the same thing happens
> I should add that if I deploy the app straight from eclipse (ie not signing it) the secure URL works fine, so it is only when the whitelist is enforced that it doesn't seem to work

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