$NetBSD: patch-ca,v 1.2 1999/05/09 21:12:33 tron Exp $

--- 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);
 	}
     }
