You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ian Holsman <ia...@apache.org> on 2002/07/09 22:31:04 UTC

is this a bug??

while looking at another bug I stumbled onto us not setting the query 
string here.. (where we set the unescaped one) I was wondering if this 
was by design..

Index: mod_include.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/filters/mod_include.c,v
retrieving revision 1.230
diff -u -r1.230 mod_include.c
--- mod_include.c	28 Jun 2002 08:40:24 -0000	1.230
+++ mod_include.c	9 Jul 2002 20:28:26 -0000
@@ -163,6 +163,7 @@
      }
      if (r->args) {
          char *arg_copy = apr_pstrdup(r->pool, r->args);
+        apr_table_setn(r->subprocess_env, "QUERY_STRING", r->args);

          ap_unescape_url(arg_copy);
          apr_table_setn(e, "QUERY_STRING_UNESCAPED",