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 16:55:02 UTC

[jira] [Commented] (CB-6929) Paths containing underscores cannot be loaded with XMLHttpRequest under Android

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

Chris Barnard commented on CB-6929:
-----------------------------------

Thanks - I had no idea this was a build issue! Time to re-think my folder naming conventions.

> 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
>            Assignee: Andrew Grieve
>
> 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)