luci-0.11: merge r9571 - r9573
[project/luci.git] / contrib / uhttpd / patches / 001-pass-env.patch
1 --- a/uhttpd-cgi.c
2 +++ b/uhttpd-cgi.c
3 @@ -216,7 +216,7 @@ void uh_cgi_request(
4 (pi->stat.st_mode & S_IXOTH)) || (ip != NULL)
5 ) {
6 /* build environment */
7 - clearenv();
8 + //clearenv();
9
10 /* common information */
11 setenv("GATEWAY_INTERFACE", "CGI/1.1", 1);