[rt-users] Re: RT/FastCGI Problem with SimpleSearch
Patrick LeBoutillier
patl at fusemail.com
Wed Feb 4 10:05:35 EST 2004
Jesse,
This is a very nasty bug. You may want to consider requiring CGI.pm >=
2.92 for further RT versions to make sure no one else wastes a day
debugging it like I had to...:)
Thanks,
Patrick LeBoutillier
BTW: The wiki is an excellent tool and I'm certain it will be very
useful in uniting the GPL RT community.
On Tue, 2004-02-03 at 13:57, Patrick LeBoutillier wrote:
> 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.
>
> _______________________________________________
> rt-users mailing list
> rt-users at lists.bestpractical.com
> http://lists.bestpractical.com/mailman/listinfo/rt-users
>
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
More information about the rt-users
mailing list