]> granicus.if.org Git - curl/commit
urlapi: distinguish possibly empty query
authorLeonardo Taccari <iamleot@gmail.com>
Wed, 12 Dec 2018 15:05:45 +0000 (16:05 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 13 Dec 2018 09:21:33 +0000 (10:21 +0100)
commit305d25ed8a18bbe1fa59c4ec735de6a05ef27f45
tree98c194527c74481233afa99f94fd8e53deffc32e
parenta58b27740fd78fee88b35104fa71b7019280ccff
urlapi: distinguish possibly empty query

If just a `?' to indicate the query is passed always store a zero length
query instead of having a NULL query.

This permits to distinguish URL with trailing `?'.

Fixes #3369
Closes #3370
lib/urlapi.c