geomyidae

A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
git clone git://r-36.net/geomyidae
Log | Files | Refs | README | LICENSE

commit b7157352d2a088d8daf0975cf59b2df1af6a1b46
parent 4db13c5e462c939ad71bc0d1bf0cdbe117770d54
Author: Christoph Lohmann <20h@r-36.net>
Date:   Fri, 13 Jun 2025 16:57:56 +0200

PATH_TRANSLATED should be the absolute path according to RFC3875.

Diffstat:
Mind.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ind.c b/ind.c @@ -550,7 +550,7 @@ setcgienviron(char *file, char *path, char *port, char *base, char *args, /* RFC3875 4.1.5 */ setenv("PATH_INFO", traverse, 1); /* RFC3875 4.1.6 */ - setenv("PATH_TRANSLATED", traverse, 1); + setenv("PATH_TRANSLATED", path, 1); /* RFC3875 4.1.7 */ setenv("QUERY_STRING", args, 1); /* RFC3875 4.1.8 */