commit 96c7692574c9f7edf5faf5c98cafb8473b0fc1ce
parent 89ed3ff980bfd8b1a6405be67565b1de3b393ac3
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:
1 file changed, 2 insertions(+), 2 deletions(-)
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);