-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Route parameters containing forward slashes are not correctly encoded. #631
Comments
internally the router is using
It should probably use |
I'd like to point out that this is a serious problem. Consider a use case where I want to send
EDIT: if I do |
@hankur I think you can encode/decode your route parameters with base64 strings.
Can you try this? |
@bigopon I guess this would work, but it would render the URL unreadable by us humans. Simple |
I'm submitting a bug
1.6.3
Please tell us about your environment:
Operating System:
Windows 10
Node Version:
v10.13.0
NPM Version:
6.6.0
JSPM OR Webpack AND Version
webpack 4.29.0
Browser:
all
Language:
TypeScript
Current behavior:
Route parameters containing forward slashes are not correctly encoded.
say this route is configured:
{ route: 'detail/:component', name: 'coded', moduleId: PLATFORM.moduleName('./coded/coded') }
navigating to the route by using:
this.router.navigateToRoute('details',{component:'some/thing'});
in the module after navigation:
What is the expected behavior?
in the module after navigation:
The text was updated successfully, but these errors were encountered: