-
Notifications
You must be signed in to change notification settings - Fork 24.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slash in route params values Cannot match any routes on refresh with HashLocationStrategy #9483
Comments
From @zoechi on June 16, 2016 8:17 What's the purpose of this issue if there are 2 similar already? What router version are you using? |
From @Delagen on June 16, 2016 8:25 3.0.0-alpha.6 |
From @zoechi on June 16, 2016 8:53 Sorry, I missed that this is not the https://github.com/angular/angular repo |
I tried to reproduce the issue using the latest release of the router, and it looks like the issue has been fixed. If you can still repro the issue, please provide a plunker. |
@vsavkin @robwormald Does not fixed http://plnkr.co/edit/dR0oN3vXaIi0zKQkyibd Click [crisis center] link and reload FRAME via browser context menu
|
If you are pasting the following into the browser location bar
And, as a result, it won't be able to match any routes. However, if you navigate to that url using the router API: This is a correct behavior. The router escapes the segments and the parameters when updating the URL bar, and unescapes them when parsing the URL. If you are constructing the URL yourself, it is your responsibility to escape it. The escaping works properly in the latest build of the router (e.g., see this plunkr to see how it is set up http://plnkr.co/edit/0scjLRAd2voWTJ4giBhO?p=preview). It does not work properly in beta2. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
From @Delagen on June 16, 2016 8:9
simple url http://site.com/#/route;back=/a/b/c
Error: Cannot match any routes: 'route;back=true/a/b/c'
Copied from original issue: angular/vladivostok#59
The text was updated successfully, but these errors were encountered: