Give traversal and sel in cgi and dcgi call. - 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 96c7692574c9f7edf5faf5c98cafb8473b0fc1ce (DIR) parent 89ed3ff980bfd8b1a6405be67565b1de3b393ac3 (HTM) Author: Christoph Lohmann <20h@r-36.net> Date: Thu, 3 Aug 2023 13:14:48 +0200 Give traversal and sel in cgi and dcgi call. Diffstat: M handlr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- (DIR) diff --git a/handlr.c b/handlr.c @@ -172,7 +172,7 @@ handlecgi(int sock, char *file, char *port, char *base, char *args, setcgienviron(script, file, port, base, args, sear, ohost, chost, bhost, istls, sel, traverse); - if (execl(file, script, sear, args, ohost, port, + if (execl(file, script, sear, args, ohost, port, traverse, sel, (char *)NULL) == -1) { perror("execl"); _exit(1); @@ -227,7 +227,7 @@ handledcgi(int sock, char *file, char *port, char *base, char *args, setcgienviron(script, file, port, base, args, sear, ohost, chost, bhost, istls, sel, traverse); - if (execl(file, script, sear, args, ohost, port, + if (execl(file, script, sear, args, ohost, port, traverse, sel, (char *)NULL) == -1) { perror("execl"); _exit(1);