-
Notifications
You must be signed in to change notification settings - Fork 87
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
Client QueryParam encod error #38
Comments
I've studied the code and it seems there's quite a bit of fuss on this argument. I've tried to URLEncode this string with many converters, getting quite different results. Original string (this is ASCII from 0x20 to 0x7E, with only the first and last alphanumeric values for brevity): This is the output from urlencoder.org and urlencoder.io (same output): This is the output from JavaScript's This is the output from WiRL 4.5's I've modded the A better approach could be adding the And finally, this was how WiRL 4.0 worked: Since the encoding of URL parameters is fundamental for correct interpretation by web/REST servers, the |
Regarding @Giottino69 issue I think it's fixed now (as version 4.5), regarding @fperana comment is worth a discussion but I don't think it's related to @Giottino69 issue, so I will close the issue inviting a discussion in the Discussions section. Thanks, |
In the Helloworld Echo demo by entering the string "%0AThis is a test!" the encode is not working correctly.
The text was updated successfully, but these errors were encountered: