diff -r 9d4e11d6e783 -r 8bee6dfdbe96 web/data/cubicweb.ajax.js --- 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) {