PATH_TRANSLATED should be the absolute path according to RFC3875. - geomyidae - A small C-based gopherd.
(HTM) git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
(DIR) LICENSE
---
(DIR) commit b7157352d2a088d8daf0975cf59b2df1af6a1b46
(DIR) parent 4db13c5e462c939ad71bc0d1bf0cdbe117770d54
(HTM) 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:
M ind.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) 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 */