]> granicus.if.org Git - curl/commit
gopher: always include the entire gopher-path in request
authorLeonardo Taccari <iamleot@gmail.com>
Wed, 12 Dec 2018 15:58:18 +0000 (16:58 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 13 Dec 2018 09:22:25 +0000 (10:22 +0100)
commit9026083ddb2a986f41cfc9337640eadd2dc372ea
treec151e6f0397c46d425996b33b9b72907eb7a75c6
parent305d25ed8a18bbe1fa59c4ec735de6a05ef27f45
gopher: always include the entire gopher-path in request

After the migration to URL API all octets in the selector after the
first `?' were interpreted as query and accidentally discarded and not
passed to the server.

Add a gopherpath to always concatenate possible path and query URL
pieces.

Fixes #3369
Closes #3370
lib/gopher.c