Dan Moore created CB-4026: ----------------------------- Summary: config.xml whitelist not respected in android Key: CB-4026 URL: https://issues.apache.org/jira/browse/CB-4026 Project: Apache Cordova Issue Type: Bug Components: CLI Affects Versions: 2.9.0 Environment: $ cordova -v 2.9.0 $ npm -v 1.3.1
Centos 6 Reporter: Dan Moore Assignee: Filip Maj I can create a sample application and change the whitelist to restrict the host, but the app in the emulator can still access other hosts. To replicate: * cordova create Bar1; cd Bar1; cordova platforms add android; * edit the access line in www/config.xml to be '<access origin="example.com" />' * update index.js to be the file attached. * build and deploy the app to the emulator Expected: no network access will be allowed Reality: you see a console.log line (via adb logcat) with XML text in it I tested this in my android 2.3.3 emulator. I googled for 'android emulator ignores whitelist phonegap' but didn't see anything relevant. -- 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