-
Notifications
You must be signed in to change notification settings - Fork 26.2k
Router URL cannot be accessed directly if parameter contains "." (dot) in it's value #8249
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
Comments
Still an issue with @angular/[email protected] |
Did you solve this? |
Reporting here that I'm experiencing this problem as well when we redirect to a url in which the users email is contained. I can't use the users email in this case as it contains a dot. |
Same problem here |
Cannot reproduce it using express server. Looks like the issue is related to webpack dev server treated urls with dots as file names webpack/webpack-dev-server#454 The same issue in cli angular/angular-cli#2168 tl tr just add
into webpack dev server config |
I'm sorry but we can't reproduce the problem following the instructions you provided. If the problem still exists please open a new issue with a plunkr reproducing the problem. |
@vsavkin I am still having this issue with
What version of angular should I try to see if it is resolved? Thanks! |
Ok this is probably fixed by newer versions. I tried this and works
Thanks! |
Hey, i have still this Problem in Version 4.0.3
|
I had the same issue and the solution of @DzmitryShylovich worked for me. |
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. |
Description
As soon as you try to access URL containing
.
symbol the page cannot be displayed.Steps to reproduce and a minimal demo of the problem
{ path: '/data/:date', component: DataDetails, name: 'DataDetails' }
http://localhost/data/2016.05
Current behavior
An error is returned that page cannot be displayed (
Error 404
)Expected/desired behavior
Corresponding component is properly displayed.
Other information
this._router.navigateByUrl('/data/2016.05');
it works fine and proper component is shown.
.
from the URL, e.g.:http://localhost/data/2016-05
it works fine as well.Looks like the problem is cause by
.
symbol.The text was updated successfully, but these errors were encountered: