Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 1a3aa28

Browse files
committed
fix($location): prevent infinite digest with Umlaut urls in Edge
Fixes #15217
1 parent faf0c3e commit 1a3aa28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/location.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function parseAppUrl(relativeUrl, locationObj) {
4949
}
5050

5151
function startsWith(haystack, needle) {
52-
return haystack.lastIndexOf(needle, 0) === 0;
52+
return haystack.indexOf(needle, 0) === 0;
5353
}
5454

5555
/**

0 commit comments

Comments
 (0)