cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/util MIMEUtils.java
Date Sat, 03 Aug 2002 02:12:15 GMT
vgritsenko    2002/08/02 19:12:15

  Modified:    src/java/org/apache/cocoon/util MIMEUtils.java
  Log:
  Fix bug #11412: Add two more mime-types. Thanks to torstenknodt@datas-world.de (Torsten
Knodt)
  
  Revision  Changes    Path
  1.5       +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.5
  diff -u -r1.4 -r1.5
  --- MIMEUtils.java	22 Feb 2002 07:03:57 -0000	1.4
  +++ MIMEUtils.java	3 Aug 2002 02:12:15 -0000	1.5
  @@ -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


Mime
View raw message