Trunk version of patch works
+1: rpluem, mturk, jim
- * 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.
- Trunk version of patch:
- http://svn.apache.org/viewvc?rev=682389&view=rev
- http://svn.apache.org/viewvc?rev=682475&view=rev
- Backport version for 2.2.x of patch:
- http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/generators/mod_cgid.c?r1=682475&r2=682389
- +1: covener, rpluem, jim
-
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
[ New proposals should be added at the end of the list ]
for (x = 1; x <= numwords; x++) {
w = ap_getword_nulls(p, &args, '+');
- if (strcmp(w, "")) {
- ap_unescape_url(w);
- av[idx++] = ap_escape_shell_cmd(p, w);
- }
+ ap_unescape_url(w);
+ av[idx++] = ap_escape_shell_cmd(p, w);
}
av[idx] = NULL;
return av;