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 22898] - nph scripts with two HTTP header
Date Tue, 14 Mar 2006 12:40:21 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=22898>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=22898


ben@redsnapper.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #17796|0                           |1
        is obsolete|                            |




------- Additional Comments From ben@redsnapper.net  2006-03-14 12:40 -------
Created an attachment (id=17891)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=17891&action=view)
mod_cgi diff file that fixes 22898 and related bugs

The Apache2.x fails to behave properly when nph- are used in Actions.
This patch includes some debugging messages, and fixes two related severe bugs
which cause nph- cgi scripts to fail when cgi,_handler is called via an Action
directive. The bugs are (1) apr_filepath_name_get(r->filename) returns a full
path when cgi_handler is accessed via Action, which means that the strncmp test
fails to identify the nph- prefix. (2) The clear up of the bucket brigade fails
unless the request is the ap_is_initial_req. The fix in the patch for (1) is to
use strstr instead of strncmp - though there may be a better fix for that.  The
fix in the patch for (2) is on false for ap_is_initial_req to clear the bucket
brigade at r->prev. 

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

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


Mime
View raw message