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

using a # in a value truncates the sent request #628

Closed
aturbati opened this issue Mar 17, 2022 · 2 comments · Fixed by #629
Closed

using a # in a value truncates the sent request #628

aturbati opened this issue Mar 17, 2022 · 2 comments · Fixed by #629
Labels

Comments

@aturbati
Copy link

I've noticed that if you use a # in a value (in the name-value part), then the request is truncated up to that point. The only way I found out to sent a value with a # is to click on the "arrow" near the URL to "Toggle URL params" (so the name-value list is no longer visible) and to manually replace the # with a %23 in the URL itself. If I try to replace in the name-value part the # with a %23, immediatelly after I write the "3" it is automatically converted in a # so it seems not to be possible to modify there that character

@frigus02 frigus02 added the bug label Mar 18, 2022
@frigus02
Copy link
Owner

Thanks for reporting. For some reason RESTer doesn't encode values in URL params unless the name/value contains a = or &. I can't remember why I did that and apparently I also didn't write that down anywhere.

I think it would be safer to always encode query params. Lets try that.

@frigus02
Copy link
Owner

I released version 4.9.1 with a fix. It should be available in the next few hours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants