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