]> granicus.if.org Git - apache/commitdiff
*) mod_cgid: Pass along empty command line arguments from an ISINDEX
authorEric Covener <covener@apache.org>
Mon, 4 Aug 2008 13:49:07 +0000 (13:49 +0000)
committerEric Covener <covener@apache.org>
Mon, 4 Aug 2008 13:49:07 +0000 (13:49 +0000)
     query that has consecutive '+' characters in the QUERY_STRING,
     matching the behavior of mod_cgi.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@682389 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/generators/mod_cgid.c

diff --git a/CHANGES b/CHANGES
index 39e0833774dbd4bd957369640cb1b88206ce084d..ec8aebb18dcd7ce29854a93a98cb16f2f82f6e9c 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,11 @@
 Changes with Apache 2.3.0
 [ When backported to 2.2.x, remove entry from this file ]
 
+  *) mod_cgid: Pass along empty command line arguments from an ISINDEX
+     query that has consecutive '+' characters in the QUERY_STRING, 
+     matching the behavior of mod_cgi.
+     [Eric Covener]
+
   *) mod_auth_core: Detect during startup when AuthDigestProvider
      is configured to use an incompatible provider via AuthnProviderAlias.
      PR 45196 [Eric Covener]
index c825e3680f860dfc461f87220527127686825edc..83a729ec111dbaa0a63a0791c741625508a10add 100644 (file)
@@ -237,6 +237,9 @@ static char **create_argv(apr_pool_t *p, char *path, char *user, char *group,
             ap_unescape_url(w);
             av[idx++] = ap_escape_shell_cmd(p, w);
         }
+        else { 
+            av[idx++] = w;
+        }
     }
     av[idx] = NULL;
     return av;