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

$location regression #2774

Closed
geddski opened this issue May 24, 2013 · 2 comments
Closed

$location regression #2774

geddski opened this issue May 24, 2013 · 2 comments

Comments

@geddski
Copy link
Contributor

geddski commented May 24, 2013

@mhevery your recent commit 58ef323 added a regression: If you land on a deep URL the base gets incorrectly set so routes break. Example URL:

http://localhost:8080/page/2 --> base is http://localhost:8080/page but should be http://localhost:8080/.

This sets $location.$$path to /2 when it should be /page/2.

stripFile() is the culprit I believe.

@Siyfion
Copy link

Siyfion commented May 24, 2013

Already mentioned in issue #2762

@petebacondarwin
Copy link
Contributor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants