-
Notifications
You must be signed in to change notification settings - Fork 38
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
"+" in query params do not get URL encoded #677
Comments
I see, so could identifying encoded parts and changing them back afterwards be something that could be implemented? (That's how I see it's being done in Insomnia for example). If you could point me to the location of the query parser in the code, I could try to make a PR 🙂 (I assume here this should be done?) |
I don't find your position ideal, as it takes place during parsing and I don't want to make any changes to the content here. This should remain as specified by the user. |
So apparently the Let's say we needed to write a server that supported this older style encoding and you wanted to test that your server was interpreting the + symbol correctly as a space character using httpyac. If httpyac makes the decision to urlencode all + symbols as %2B for you, then you really couldn't test your server's backward compatibility. So, I personally like that httpyac is sticking to the spec here and not making a decision for you. |
When using a "+" in one of the query params, e.g.
the + is not url encoded:
meaning the query wilt get different results in this case. I could url encode manually, but I wonder if this is intentional, since the space character is encoded to '%20'?
The text was updated successfully, but these errors were encountered: