Give a URL such as:
http://www.example.com/?q=hello&x=&y=
The uriDissectQueryMallocA function will parse the following key and value pairs:
"q" -> "hello"
"x" -> "" (empty string)
"y=" -> NULL
Notice that the key value is "y=" instead of "y" and the value is NULL instead of empty string.
Hello Marc,
thanks for reporting! I was able to re-produce the bug. I have pushed a fix to Git now, see [1].
Any chance to test it?
Best, Sebastian
[1] http://uriparser.git.sourceforge.net/git/gitweb.cgi?p=uriparser/uriparser;a=commitdiff;h=abb4153da87117c3c14f3fd5fb5f7df148232b2e
Yes, it's working correctly now with your fix. Thanks!
Cool, thanks. Closing as fixed.