summaryrefslogtreecommitdiff
path: root/networking/httpd.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-11-21 11:15:58 +0000
committerDenis Vlasenko2006-11-21 11:15:58 +0000
commit1288722f3ea74d64a51b71550dfa3f03ffa07fb6 (patch)
treeef3b237cef0248c51d2f2537a8a6f0af1c1b1a94 /networking/httpd.c
parent40f62a8c3de7f9438c2137d181dde525b40a88c3 (diff)
downloadbusybox-1288722f3ea74d64a51b71550dfa3f03ffa07fb6.zip
busybox-1288722f3ea74d64a51b71550dfa3f03ffa07fb6.tar.gz
wget: add TODO
Diffstat (limited to 'networking/httpd.c')
-rw-r--r--networking/httpd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index 3b948b9..986703d 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -1036,6 +1036,9 @@ static int sendCgi(const char *url,
setenv1("SCRIPT_FILENAME", realpath_buff);
/* set SCRIPT_NAME as full path: /cgi-bin/dirs/script.cgi */
setenv1("SCRIPT_NAME", purl);
+ /* TODO: bug 996 says we need to decodeString(config->query)
+ * before placing it into env. Is this true? Add example
+ * in the comment please... */
setenv1("QUERY_STRING", config->query);
setenv1("SERVER_SOFTWARE", httpdVersion);
putenv("SERVER_PROTOCOL=HTTP/1.0");