diff options
-rw-r--r-- | networking/httpd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index 3b948b98d..986703d2d 100644 --- a/networking/httpd.c +++ b/networking/httpd.c | |||
@@ -1036,6 +1036,9 @@ static int sendCgi(const char *url, | |||
1036 | setenv1("SCRIPT_FILENAME", realpath_buff); | 1036 | setenv1("SCRIPT_FILENAME", realpath_buff); |
1037 | /* set SCRIPT_NAME as full path: /cgi-bin/dirs/script.cgi */ | 1037 | /* set SCRIPT_NAME as full path: /cgi-bin/dirs/script.cgi */ |
1038 | setenv1("SCRIPT_NAME", purl); | 1038 | setenv1("SCRIPT_NAME", purl); |
1039 | /* TODO: bug 996 says we need to decodeString(config->query) | ||
1040 | * before placing it into env. Is this true? Add example | ||
1041 | * in the comment please... */ | ||
1039 | setenv1("QUERY_STRING", config->query); | 1042 | setenv1("QUERY_STRING", config->query); |
1040 | setenv1("SERVER_SOFTWARE", httpdVersion); | 1043 | setenv1("SERVER_SOFTWARE", httpdVersion); |
1041 | putenv("SERVER_PROTOCOL=HTTP/1.0"); | 1044 | putenv("SERVER_PROTOCOL=HTTP/1.0"); |