Re: [PATCH] gitweb: use correct mime type even if filename has multiple dots.
On Sun, Sep 17, 2006 at 10:23:45AM +0200, Jakub Narebski wrote:
Show 11 quoted lines
> Martin Waitz wrote:
>
> > hoi :)
> >
> > hmm, but it didn't work for me.
> > I had filenames like "man/program.8.html" which got served as
> > "text/html" with the old code.
>
> And why it shouldn't? From the extension it is HTML page, I would guess
> manpage converted to HTML (pretty-printed manpage). And it should be served
> with text/html mimetype.
arg, typo, it got served as "text/plain".
--
Martin Waitz