You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Chris Barnard (JIRA)" <ji...@apache.org> on 2014/06/12 12:21:03 UTC
[jira] [Created] (CB-6929) Paths containing underscores cannot be
loaded with XMLHttpRequest under Android
Chris Barnard created CB-6929:
---------------------------------
Summary: Paths containing underscores cannot be loaded with XMLHttpRequest under Android
Key: CB-6929
URL: https://issues.apache.org/jira/browse/CB-6929
Project: Apache Cordova
Issue Type: Bug
Components: Android
Affects Versions: 3.4.0
Environment: Tested within Android emulator and on Android devices running ICS and Jelly bean.
Reporter: Chris Barnard
If I create a new Cordova app, and place a JSON file within a folder beginning with an underscore, (eg _data), when I try to load it with XMLHttpRequest, the returning data is always null.
This only seems to happen on Android.
If I take the underscore out, the file loads fine. I also tried URL encoding the URL when loading the file, but this made no difference.
--
This message was sent by Atlassian JIRA
(v6.2#6252)