mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
8296dcec09
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.