ember-routemanager
ember-routemanager copied to clipboard
popState slicing bug
If base is
http://localhost.local:5000/
and loc is
http://localhost.local:5000/home
then
loc = loc.slice(base.length + 1, loc.length);
produces ome instead of home.
I think there is also then an issue with _extractLocation. Line 173 prepends "/", which is wrong if the baseURI has a "/" on the end.