[rt-users] Re: RT/FastCGI Problem with SimpleSearch
Patrick LeBoutillier
patl at fusemail.com
Tue Feb 3 13:57:34 EST 2004
Jeff,
> The error:
> FastCGI: comm with server "/blah/rt/rt3/bin/mason_handler.fcgi"
> aborted:
> error parsing headers: malformed header
> 'Location="/rt3/Ticket/Display.html?id=33"', referer:
> https://blech.com/rt3/Search/Listing.html
I've found the problem. There is a bug in perl 5.8.0 (21951):
21951 /(^\s]+)/ regexp can incorrectly fail match in utf8 locale
CGI.pm <= 2.91 uses such a regexp to parse the HTTP headers:
next unless my($header,$value) = /([^\s=]+)=\"?(.+?)\"?$/;
This is where this bug comes from.
Solution:
- Upgrading CGI.pm to 3.04 did it for me.
Patrick
Note: Add will add this to the wiki.
More information about the rt-users
mailing list