Routing and HTML5-mode links broken #2537
Description
Given an application hosted at http://domain/en/test/
, using AngularJS v1.1.5-77ff108, $location.path()
does not include the /en/test
prefix, and as a result, no link matches the configured routes. Reproduced in Chrome 26, Firefox 20 and IE 10 running on two separate machines (Windows 7 and 8, respectively).
See https://gist.github.com/nil4/5444928 for a complete example; you need to host these files under http://domain/en/test/
to reproduce (domain
is a placeholder, you can use any host name). Expected: all links except the last one should show the partial.html
view; actual: all links show the notfound.html
view.
This looks like a regression from v1.1.3 and v1.1.4 where this scenario works as expected. Originally reported at #2485 but probably unrelated.