[Oisf-devel] libhtp - do not store non key-value param in query

Anoop Saldanha anoopsaldanha at gmail.com
Mon Jun 17 08:24:47 UTC 2013


On Mon, Jun 17, 2013 at 1:52 PM, Anoop Saldanha <anoopsaldanha at gmail.com> wrote:
> ?name1&name2=value2
> ?name1=&name2=value2
>
> In both these query strings, for param "name1", param->value is
> non-NULL and len 0.
>
> Maybe for the first query string, we should set the param->value
> as NULL, so that we can differentiate it from the second query where
> name1 is in the key-value format but without the value set?
>

P.S: I have also asked the above question in the mail thread - "libhtp
0.5.x integration - bug 775" on oisf-devel.  Please ignore that.

-- 
-------------------------------
Anoop Saldanha
http://www.poona.me
-------------------------------



More information about the Oisf-devel mailing list