Thanks Nick!
Well, with PHP, you can have parameters of these forms:
foo=bar&baz=quux
foo=bar&baz= (empty baz)
foo=bar&baz (empty baz)
they all work, but in the last two cases, the value of baz is an empty string.
And I was just thinking the parser can be a bit loose, without this
generating any
Hi,
On 5 January 2011 20:16, Nick Mathewson wrote:
> On Thu, Dec 30, 2010 at 8:21 PM, Mihai Draghicioiu
> wrote:
>> Hi all. I've found that evhttp_parse_query_str only works if the query
>> string is of the form foo=bar&baz=quux. If we have a query string of
>> the form foo=bar&baz (no value for
On Thu, Dec 30, 2010 at 8:21 PM, Mihai Draghicioiu
wrote:
> Hi all. I've found that evhttp_parse_query_str only works if the query
> string is of the form foo=bar&baz=quux. If we have a query string of
> the form foo=bar&baz (no value for the last key), it fails. I consider
> this a bug, because y
Hi all. I've found that evhttp_parse_query_str only works if the query
string is of the form foo=bar&baz=quux. If we have a query string of
the form foo=bar&baz (no value for the last key), it fails. I consider
this a bug, because you have all the other valid parameters in there,
and it can just se