summaryrefslogtreecommitdiff
path: root/www/w3c-httpd
diff options
context:
space:
mode:
Diffstat (limited to 'www/w3c-httpd')
-rw-r--r--www/w3c-httpd/files/patch-ca12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/w3c-httpd/files/patch-ca b/www/w3c-httpd/files/patch-ca
new file mode 100644
index 000000000000..110d585868e2
--- /dev/null
+++ b/www/w3c-httpd/files/patch-ca
@@ -0,0 +1,12 @@
+--- Daemon/Implementation/CGIParse.c.orig Wed Jun 3 12:38:15 1998
++++ Daemon/Implementation/CGIParse.c Wed Jun 3 12:38:41 1998
+@@ -293,7 +293,8 @@
+ *cur = 0;
+
+ if (init) {
+- printf("QUERY_STRING='%s'; export QUERY_STRING\n", query_string);
++ printf("QUERY_STRING='%s'; export QUERY_STRING\n",
++ sh_escape(query_string) );
+ exit(0);
+ }
+ }