[ https://issues.apache.org/jira/browse/CB-6299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13939120#comment-13939120 ]
ASF GitHub Bot commented on CB-6299: ------------------------------------ GitHub user gabrielschulhof opened a pull request: https://github.com/apache/cordova-wp8/pull/30 CB-6299 Strip protocol and leading slashes from XHRLOCAL URL This PR submits the fix mentioned in a related jQuery Mobile [bug](https://github.com/jquery/jquery-mobile/issues/6574#issuecomment-37879404) I've tested this fix on a Nokia Lumia 800 for WP7 and on a Nokia Lumia 520 for WP8. You can merge this pull request into a Git repository by running: $ git pull https://github.com/gabrielschulhof/cordova-wp8 6299-abs-url-processing Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-wp8/pull/30.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #30 ---- commit 3dbe46184c5846653dc553ea8984d1736380f0bc Author: Gabriel Schulhof <gabriel.schul...@intel.com> Date: 2014-03-18T12:16:20Z CB-6299 [wp8] Strip protocol and leading slashes from XHRLOCAL URL commit ca8efaf15cc5a286995fe28e9dd10146a53ff362 Author: Gabriel Schulhof <gabriel.schul...@intel.com> Date: 2014-03-18T12:16:29Z CB-6299 [wp7] Strip protocol and leading slashes from XHRLOCAL URL ---- > Ajax of local files not working when requested via absolute URL > --------------------------------------------------------------- > > Key: CB-6299 > URL: https://issues.apache.org/jira/browse/CB-6299 > Project: Apache Cordova > Issue Type: Bug > Components: WP7, WP8 > Reporter: Gabriel Schulhof > Assignee: Jesse MacFadyen > > The code does not properly strip slashes from the path name when the URL is > absolute, because in that case the path name is prefixed with the protocol, > so the protocol must be stripped off first. > References: > https://github.com/jquery/jquery-mobile/issues/6574 -- This message was sent by Atlassian JIRA (v6.2#6252)