httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r686392 - in /httpd/httpd/branches/2.2.x: STATUS modules/generators/mod_cgid.c
Date Fri, 15 Aug 2008 22:08:05 GMT
Author: jim
Date: Fri Aug 15 15:08:05 2008
New Revision: 686392

URL: http://svn.apache.org/viewvc?rev=686392&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.
    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


Modified:
    httpd/httpd/branches/2.2.x/STATUS
    httpd/httpd/branches/2.2.x/modules/generators/mod_cgid.c

Modified: httpd/httpd/branches/2.2.x/STATUS
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/STATUS?rev=686392&r1=686391&r2=686392&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/STATUS (original)
+++ httpd/httpd/branches/2.2.x/STATUS Fri Aug 15 15:08:05 2008
@@ -120,16 +120,6 @@
        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 ]
 

Modified: httpd/httpd/branches/2.2.x/modules/generators/mod_cgid.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/modules/generators/mod_cgid.c?rev=686392&r1=686391&r2=686392&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/modules/generators/mod_cgid.c (original)
+++ httpd/httpd/branches/2.2.x/modules/generators/mod_cgid.c Fri Aug 15 15:08:05 2008
@@ -235,10 +235,8 @@
 
     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;



Mime
View raw message