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

HttpClient breaks querystrings containing encoded = and & #54

Open
bmjames opened this issue Oct 15, 2012 · 0 comments
Open

HttpClient breaks querystrings containing encoded = and & #54

bmjames opened this issue Oct 15, 2012 · 0 comments

Comments

@bmjames
Copy link
Contributor

bmjames commented Oct 15, 2012

The process of decoding and re-encoding the querystring does not correctly handle encoded occurrences of = and &, and leaves them unencoded in the resulting URI.

For example,

client.get("foo?bar=baz%3Dqux%26quux")

will result in the client making this request:

GET /foo?bar=baz=qux&quux HTTP/1.1

It should be this:

GET /foo?bar=baz%3Dqux%26quux HTTP/1.1
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

No branches or pull requests

1 participant