httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46530] File upload using 3rd party cgi-bin binary longer working
Date Thu, 15 Jan 2009 18:56:43 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46530





--- Comment #4 from Rainer Jung <rainer.jung@kippdata.de>  2009-01-15 10:56:42 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> We are using MPM.  I will try it with prefork and report what happens.

You meant "We are using the worker MPM" ?

> I got the patch, as you suggested, from:
> http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/generators/mod_cgid.c?view=markup&pathrev=726636
> 
> But compiling it with 2.2.11 I get the following error below.
> ...

Sorry, you misunderstood my link

http://svn.apache.org/viewvc?view=rev&revision=726636

You can not simply copy the f8ull mod_cgid from trunk to version 2.2. What you
can do is using the link to the changes (link below "text changed"), which is

http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/generators/mod_cgid.c?r1=726636&r2=726635&pathrev=726636

There you can see, that the fix is a simple one line change:

--- httpd/httpd/trunk/modules/generators/mod_cgid.c     2008/12/15 07:40:57    
726635
+++ httpd/httpd/trunk/modules/generators/mod_cgid.c     2008/12/15 07:47:30    
726636
@@ -201,7 +201,7 @@
     char *w;
     int idx = 0;

-    if (ap_strchr_c(args, '=')) {
+    if (!(*args) || ap_strchr_c(args, '=')) {
         numwords = 0;
     }
     else {


you can apply to your version of 2.2.11. I checked 2.2.11, the same line that
was changed in trunk is there in 2.2.11 as well. In 2.2.11 it is line number
206 instead of line number 204.

Regards,

Rainer


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message