mirror of
https://github.com/jnunemaker/httparty
synced 2023-03-27 23:23:07 -04:00
3db7a4eb36
As noted in #687, the existing implementation of our querystring construction was not valid according to the HTTP/1.1 specification, which was noticed with an integration issue with Apache Tomcat. This affects both the generation of Query Strings, and URL encoded form parameters. The solution is to ensure that we always URL-encode the keys, as well as the values. It appears that the existing test we had for this, "returns a Rails style query string", was not actually quite testing what we thought it was, as we had not tested the rendering of the raw values, only the URL decoded ones. Closes #697. |
||
---|---|---|
.. | ||
fixtures | ||
httparty | ||
support | ||
httparty_spec.rb | ||
spec_helper.rb |