I\'m struggling to understand why my base href seems to be case sensitive. I have a page with a base href and utilizes angularjs routing.
html:
<
Had the same problem but have a different solution. This works for me and doesn't interfere with routing, beginsWith or the assumption that things are/should be lower case.
Put this before angular is initialized (like in the head of your html page)
// Fix base url being case sensitive
(function () {
var base = document.querySelector("base");
var normalized = RegExp(base.href, "i").exec(location.href);
base.href = normalized ? normalized[0] : base.href;
}());