From: Eric Covener Date: Mon, 4 Aug 2008 13:49:07 +0000 (+0000) Subject: *) mod_cgid: Pass along empty command line arguments from an ISINDEX X-Git-Tag: 2.3.0~401 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3dbf90f4e6a6ccf30f03022d9830b0923e131e6;p=thirdparty%2Fapache%2Fhttpd.git *) 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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@682389 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 39e0833774d..ec8aebb18dc 100644 --- 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] diff --git a/modules/generators/mod_cgid.c b/modules/generators/mod_cgid.c index c825e3680f8..83a729ec111 100644 --- a/modules/generators/mod_cgid.c +++ b/modules/generators/mod_cgid.c @@ -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;