wget: add TODO
authorDenis Vlasenko <vda.linux@googlemail.com>
Tue, 21 Nov 2006 11:15:58 +0000 (11:15 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Tue, 21 Nov 2006 11:15:58 +0000 (11:15 -0000)
networking/httpd.c

index 3b948b98d63dc88bfc80c6051060958ac4bcff58..986703d2d5a34d76c7bee2eadb2c34888e5ac4e9 100644 (file)
@@ -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");