httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Akins <bak...@web.turner.com>
Subject Re: malformed header causes segfault
Date Tue, 14 Oct 2003 17:56:11 GMT
On Tue, 2003-10-14 at 13:39, Brian Akins wrote:
> > > I figure out if I send a "/" in the Host header this will be triggered. 
> > > It seems to be in mod_include  can anyone else reproduce this?
> > 
> > Someone else confirmed on a couple of installs.  This seems to only
> > happen when AddOutputFilterByType INCLUDES text/html ... is used.


Quick fix:

Change 

if (!(ap_allow_options(r)) {

to 

if (!(ap_allow_options(r) & OPT_INCLUDES) || (r->status ==
HTTP_BAD_REQUEST)) {

in includes_filter

See attached diff.


-- 
Brian Akins <bakins@web.turner.com>
CNN Internet Technologies

Mime
View raw message