commit 28ba6b76c3cc61bdce1984cdc35733f704c22c52 parent f4cac1fea572c34eaf23baef928d7aa313ae9ccf Author: Christoph Lohmann <firstname.lastname@example.org> Date: Wed, 31 Jan 2018 15:18:09 +0100 Document gopher+ redirect quirk. Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/geomyidae.8 b/geomyidae.8 @@ -328,6 +328,13 @@ All terms are tab-separated (per gopher protocol) which can cause some surprises depending on how a script is written. See the CGI file (included in the geomyidae source archive) for further elaboration. .Pp +QUIRK: The original gopher client tried to be too intellignet. It is using +gopher+ when you request some resource. When "search" is just the value "+", +"!", "$" or empty, geomyidae will display a gopher+ redirect instead of invoking the +script. Be careful to design your search script so the user is unlikely to +enter those values. The designers of gopher+ did not think of classic gopher +to survive. It survived gopher+. +.Pp Additionally to the above arguments several environment variables are set. .Pp .Dl GATEWAY_INTERFACE = `CGI/1.1'