>>>>> "Jeroen" == Jeroen Frijters <[EMAIL PROTECTED]> writes:

Jeroen> Tom Tromey wrote:
>> This updates our internal mime type database in two ways.  First, we
>> now parse /etc/mime.types, if it exists.

Jeroen> IMO that needs to be factored into a VM interface. On Windows
Jeroen> it doesn't make sense to try to read /etc/ (and it may in fact
Jeroen> represent a security issue to do so).

Oops, I wasn't thinking about that.  You're right of course.

I think I will add a system property for this.  However I'm happy to
do something different if you prefer.

Jeroen> Plus on some platforms there might be a mime database available
Jeroen> elsewhere.

Yeah.  Actually on my Linux box I see several different mime.types
files in /etc, one of which (from CUPS) has a different syntax.  Yay
Linux!

Tom

Reply via email to