From owner-freebsd-cvsweb@FreeBSD.ORG Wed Jun 25 07:11:06 2003 Return-Path: Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF98E37B401 for ; Wed, 25 Jun 2003 07:11:06 -0700 (PDT) Received: from smtp2.pp.htv.fi (smtp2.pp.htv.fi [213.243.153.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 556064401F for ; Wed, 25 Jun 2003 07:11:06 -0700 (PDT) (envelope-from scop@FreeBSD.org) Received: from posti.pp.htv.fi (posti.pp.htv.fi [212.90.64.50]) by smtp2.pp.htv.fi (Postfix) with ESMTP id 4CFF2297B3A for ; Wed, 25 Jun 2003 17:11:05 +0300 (EEST) Received: from cs78130147.pp.htv.fi (cs78130147.pp.htv.fi [62.78.130.147]) by posti.pp.htv.fi (8.11.1/8.11.1) with ESMTP id h5PEB5505133 for ; Wed, 25 Jun 2003 17:11:05 +0300 (EETDST) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: freebsd-cvsweb@FreeBSD.org In-Reply-To: <20030528081945.DVGY29707.mf2@mf2.bredband.net> References: <20030528081945.DVGY29707.mf2@mf2.bredband.net> Content-Type: text/plain Organization: FreeBSD Message-Id: <1056550264.13159.4.camel@bobcat.ods.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 25 Jun 2003 17:11:04 +0300 Content-Transfer-Encoding: 7bit Subject: Re: cvsweb and binary files X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list [restricted posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2003 14:11:07 -0000 On Wed, 2003-05-28 at 11:19, daniel.wallner@bredband.net wrote: > We are using cvsweb to browse our cvs repository where we have both > text based design files and binary documents. > For text files cvsweb behaves acceptable but for binary documents > the default behavior is a bit weird. > This is mainly due to that the default mime type is text for nearly > all files, while this is fine for Internet Explorer that seems to > ignore the type, Netscape just displays garbage. > But there are also some bugs related to this. [...] Thanks for the walkthrough, Daniel. I've committed reworked MIME type handling to CVS HEAD, it should address most issues involved, probably not all though. Could you give it a try and let me know how it looks to you? Note that MIME::Types(3) will now be used in the type lookup if it's available. -- \/