httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: cvs commit: apache-1.3 STATUS
Date Fri, 01 May 1998 19:43:41 GMT
Dean Gaudet wrote:
> 
> 
> On Fri, 1 May 1998, Jim Jagielski wrote:
> 
> > dgaudet@hyperreal.org wrote:
> > > 
> > >        * MIME type case sensitivity disparity between 1.2.6 and 1.3b6 (PR #2112)
> > >           Jim: Is the suggested change in find_title() not
> > >                sufficient? Or is the fix to remap all mimes to lowercase?
> > >   +       Dean: all mime types are already lowercase everywhere else in the
> > >   +            server
> > 
> > Then what's the problem? If all mimes are lowercase then what's the bug?
> 
> The bug is that mod_autoindex doesn't lowercase the mime type used to
> compare with.  For example:
> 
> 	if (content_type && !ap_strcmp_match(content_type, p->apply_to))
> 	    return p->data;
> 
> apply_to isn't lowercased at config time.  But content_type is.
> Similarly for content_encoding.
> 

Ahh... so all mime-types _aren't_ lowercase(d) already... That's what
confused me. I misread the "everywhere _else_" part.

-- 
===========================================================================
   Jim Jagielski   |||   jim@jaguNET.com   |||   http://www.jaguNET.com/
            "That's no ordinary rabbit... that's the most foul,
            cruel and bad-tempered rodent you ever laid eyes on"

Mime
View raw message