# HG changeset patch # User Aurelien Campeas # Date 1295547491 -3600 # Node ID 393300fc3fdd989bb015bdf3b8a852af67e12575 # Parent 8d20623871342173f0de651e3162ebb93742f1f0 [js] always lowercase baseuri #1433305 diff -r 8d2062387134 -r 393300fc3fdd web/data/cubicweb.htmlhelpers.js --- a/web/data/cubicweb.htmlhelpers.js Wed Jan 19 19:19:56 2011 +0100 +++ b/web/data/cubicweb.htmlhelpers.js Thu Jan 20 19:18:11 2011 +0100 @@ -18,9 +18,9 @@ function baseuri() { var uri = document.baseURI; if (uri) { // some browsers don't define baseURI - return uri; + return uri.toLowerCase(); } - return jQuery('base').attr('href'); + return jQuery('base').attr('href').toLowerCase(); } /**