branch | stable |
changeset 6862 | 8bee6dfdbe96 |
parent 6645 | 179eb6131e92 |
child 6924 | b88221afe491 |
--- a/web/data/cubicweb.ajax.js Thu Jan 20 16:36:09 2011 +0100 +++ b/web/data/cubicweb.ajax.js Thu Jan 20 16:45:21 2011 +0100 @@ -283,7 +283,7 @@ * dictionary, `reqtype` the HTTP request type (get 'GET' or 'POST'). */ function loadRemote(url, form, reqtype, sync) { - if (!url.startswith(baseuri())) { + if (!url.toLowerCase().startswith(baseuri())) { url = baseuri() + url; } if (!sync) {