angular.js icon indicating copy to clipboard operation
angular.js copied to clipboard

Bad location path when browser refreshes.

Open olanod opened this issue 13 years ago • 3 comments

When I'm on a route, for example /details/123 and having configured URL rewriting on the server I refresh the page, then the displayed content in ngView is incorrect because the location.path() has changed to /123. More details in this question

olanod avatar Aug 06 '13 15:08 olanod

I can confirm this problem. The stackoverflow workaround (base href="/") helps.

AntiTalent avatar Aug 08 '13 07:08 AntiTalent

Same here, using angular 1.1.5.

Gahen avatar Aug 31 '13 17:08 Gahen

It looks like this was fixed in https://github.com/angular/angular.js/commit/aef098006302689d2d75673be828e31903ee7c3c. Please feel free to reopen if the problem persists

Narretz avatar Jul 15 '14 20:07 Narretz