]> granicus.if.org Git - curl/commit
gopher: Do not translate `?' to `%09'
authorLeonardo Taccari <iamleot@gmail.com>
Thu, 23 Aug 2018 21:27:34 +0000 (23:27 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 24 Aug 2018 06:57:49 +0000 (08:57 +0200)
commit8f3c3cd08a5b252002a4abfb19780850fc51040e
tree250835eb90c46584c1ba55bd88d40c4cd7008868
parent387e85efd08d9a7d184c9fd37cba61110728e511
gopher: Do not translate `?' to `%09'

Since GOPHER support was added in curl `?' character was automatically
translated to `%09' (`\t').

However, this behaviour does not seems documented in RFC 4266 and for
search selectors it is documented to directly use `%09' in the URL.
Apart that several gopher servers in the current gopherspace have CGI
support where `?' is used as part of the selector and translating it to
`%09' often leads to surprising results.

Closes #2910
lib/gopher.c
tests/data/test1202