You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2002/08/03 04:12:15 UTC
cvs commit: xml-cocoon2/src/java/org/apache/cocoon/util MIMEUtils.java
vgritsenko 2002/08/02 19:12:15
Modified: src/java/org/apache/cocoon/util Tag: cocoon_2_0_3_branch
MIMEUtils.java
Log:
Fix bug #11412: Add two more mime-types. Thanks to torstenknodt@datas-world.de (Torsten Knodt)
Revision Changes Path
No revision
No revision
1.4.2.1 +5 -1 xml-cocoon2/src/java/org/apache/cocoon/util/MIMEUtils.java
Index: MIMEUtils.java
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/util/MIMEUtils.java,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -r1.4 -r1.4.2.1
--- MIMEUtils.java 22 Feb 2002 07:03:57 -0000 1.4
+++ MIMEUtils.java 3 Aug 2002 02:12:15 -0000 1.4.2.1
@@ -110,6 +110,10 @@
return ".mid";
} else if ("audio/mpeg".equals(type)) {
return ".mp3";
+ } else if ("text/x-vcard".equals(type)) {
+ return ".vcf";
+ } else if ("text/rdf".equals(type)) {
+ return ".rdf";
} else {
return "";
}
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org