FGRibreau / querystring

🦄 Querystring for Rust
https://twitter.com/FGRibreau
6 stars 2 forks source link

Are query parameters not supposed to be URL Encoded? #5

Open Ocramius opened 2 years ago

Ocramius commented 2 years ago

I observed that a [("param1", "http://example.com/?foo&bar"), ("param2", "hello")] will result in a query string like following:

param1=http://example.com/?foo&bar&param2=hello&

Seems wrong, since the & contained inside the tuple wasn't URL encoded.