You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Darcy Buskermolen <da...@wavefire.com> on 2002/03/15 04:10:01 UTC
mod_cgi/7304
The following reply was made to PR mod_cgi/7304; it has been noted by GNATS.
From: Darcy Buskermolen <da...@wavefire.com>
To: darcy@wavefire.com
Cc: apbugs@apache.org
Subject: mod_cgi/7304
Date: Thu, 14 Mar 2002 19:03:43 -0800 (PST)
The problem reported over a year ago still exists,
here is a working patch against 1.3.23
---->8 snip
*** mod_cgi.orig Thu Mar 14 18:54:56 2002
--- mod_cgi.c Thu Mar 14 18:44:23 2002
*************** static int cgi_handler(request_rec *r)
*** 567,573 ****
*/
return REDIRECT;
}
!
ap_send_http_header(r);
if (!r->header_only) {
ap_send_fb(script_in, r);
--- 567,576 ----
*/
return REDIRECT;
}
! else if ( r->status != 200 )
! {
! return r->status;
! }
ap_send_http_header(r);
if (!r->header_only) {
ap_send_fb(script_in, r);
8<--------- end snip
I'm not sure if this ends up being the best way to handel this however it
does work for me.