summaryrefslogtreecommitdiffhomepage
path: root/contrib/uhttpd/patches/001-pass-env.patch
blob: b69ff176532aeb737ccd5eae657ce0e3314c8fe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/uhttpd-cgi.c
+++ b/uhttpd-cgi.c
@@ -204,7 +204,7 @@ void uh_cgi_request(struct client *cl, s
 			    (pi->stat.st_mode & S_IXOTH)
 			) {
 				/* build environment */
-				clearenv();
+				//clearenv();
 
 				/* common information */
 				setenv("GATEWAY_INTERFACE", "CGI/1.1", 1);