[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

MIME types extension matching is case-sensitive

From: petermity <6t12-n6js_at_dea.spamcon.org>
Date: Thu, 28 May 2009 14:31:16 -0700

Using Subversion/TSVN 1.6.1 under Windows XP.

I would like Subversion to set mime-types automatically.

In config I have set mime-types-file to a mime.types file from
Apache (with line-ends converted).

All of the extensions in that file are lower case.

If I add a file.jpg, it works, I get svn:mime-type of image/jpeg.

If I add a file.JPG, it doesn't work, I get svn:mime-type of
application/octet-stream.

I'd really like to use the Apache file as-is.

Is there some way to tell Subversion to match the extensions in a
case-insensitive manner?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2356587

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-28 23:32:28 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.