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

[PATCH] messages treated non binary (was Re: text MIME types)

From: Pierre THIERRY <pierre.thierry_at_moine-fou.org>
Date: 2004-06-20 17:36:03 CEST

> I've just seen that message/* should probably be regarded as text by
> default.

Index: subversion/libsvn_subr/validate.c
===================================================================
--- subversion/libsvn_subr/validate.c (revision 10034)
+++ subversion/libsvn_subr/validate.c (working copy)
@@ -68,5 +68,6 @@
   return ((strncmp (mime_type, "text/", 5) != 0)
           && (strcmp (mime_type, "image/x-xbitmap") != 0)
           && (strcmp (mime_type, "image/x-xpixmap") != 0)
+ && (strcmp (mime_type, "message/") != 0)
           );
 }

Quickly,
Nowhere man

-- 
pierre.thierry@moine-fou.org
OpenPGP 0xD9D50D8A

Received on Sun Jun 20 17:36:49 2004

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

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