guzzle/guzzle — Issue #22: Request parameters with same names get overwritten
Author: jhigman
Created: 2012-02-13 12:40:13+00:00
State: open

The same request parameter name can appear more than once in an http query string - but the processing of the request string means that all but the last occurrence are lost.

Example:

$client = new \Guzzle\Http\Client();
$request = $client->get("http://example.com/search?q=blah&facet=class&facet=property");

will result in a request like this being sent:

http://example.com/search?q=blah&facet=property

but should be:

http://example.com/search?q=blah&facet=class&facet=property