Skip to content
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

Variables in toPathExpression need to be encoded #208

Merged
merged 1 commit into from
Mar 3, 2020

Conversation

rai69
Copy link
Contributor

@rai69 rai69 commented Oct 1, 2019

This PR request makes sure that variables that are used in the url as part of the request will be encoded using (encodeURIComponent).

For instance, a call to http://somedomain.com/api/cars/{id} with 'Hyundai/Kona' as id would result in
http://somedomain.com/api/cars/Hyundai/Kona. With this PR it would be http://somedomain.com/api/cars/Hyundai%2FKona

@luisfpg luisfpg merged commit 511b324 into cyclosproject:master Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants