mirror of
https://github.com/angular/angular.git
synced 2026-11-24 07:27:53 -05:00
Previously, calls to getBaseHref used document.baseURI, which defaults to the current path in the absence of a base element in the document. This leads to surprising behavior. With this change, getBaseHref returns null when a base element is not present in the document.