001-pass-env.patch 287 B

1234567891011
  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. /* common information */
  10. setenv("GATEWAY_INTERFACE", "CGI/1.1", 1);