On 08/04/2008 03:49 PM, [EMAIL PROTECTED] wrote:
Author: covener
Date: Mon Aug 4 06:49:07 2008
New Revision: 682389
URL: http://svn.apache.org/viewvc?rev=682389&view=rev
Log:
*) 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.
Modified:
httpd/httpd/trunk/CHANGES
httpd/httpd/trunk/modules/generators/mod_cgid.c
Modified: httpd/httpd/trunk/modules/generators/mod_cgid.c
URL:
http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/generators/mod_cgid.c?rev=682389&r1=682388&r2=682389&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/generators/mod_cgid.c (original)
+++ httpd/httpd/trunk/modules/generators/mod_cgid.c Mon Aug 4 06:49:07 2008
@@ -237,6 +237,9 @@
ap_unescape_url(w);
av[idx++] = ap_escape_shell_cmd(p, w);
}
+ else {
+ av[idx++] = w;
+ }
}
av[idx] = NULL;
return av;
Thanks for keeping track of this. Wouldn't it make sense to keep the
code identical in mod_cgi and mod_cgid?
Regards
RĂ¼diger