From a3dbf90f4e6a6ccf30f03022d9830b0923e131e6 Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Mon, 4 Aug 2008 13:49:07 +0000 Subject: [PATCH] *) 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 --- CHANGES | 5 +++++ modules/generators/mod_cgid.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/CHANGES b/CHANGES index 39e0833774..ec8aebb18d 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 c825e3680f..83a729ec11 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; -- 2.40.0