httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jess Holle <je...@ptc.com>
Subject Re: [PATCH] proxy/ajp_header.c: Fix header detection
Date Thu, 30 Aug 2007 16:46:09 GMT
Martin Kraemer wrote:
> On Thu, Aug 30, 2007 at 04:45:38PM +0200, Rainer Jung wrote:
>   
>> I committed Martins patch to mod_jk a couple of minutes ago.
>> Thanks Martin!
>>
>> The Content-Type part of the patch didn't apply to mod_jk though.
>>     
> ...
>   
>>>> -        if (memcmp(stringname, "Content-Type", 12) == 0) {
>>>> +        if (strncasecmp(stringname, "Content-Type", 12) == 0) {
>>>>         
>
> That is good, because it was wrong... Of course we need the
> normal strcasecmp(stringname, "Content-Type"), not the one limited
> to 12 chars (think of "Content-TypeXYZ").
>
> Already committed to trunk.
>   
Backporting to 2.2.x?

--
Jess Holle


Mime
View raw message