httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Holsman <i...@apache.org>
Subject is this a bug??
Date Tue, 09 Jul 2002 20:31:04 GMT
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",


Mime
View raw message