james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwiederk...@apache.org
Subject svn commit: r739622 - /james/mime4j/trunk/src/main/java/org/apache/james/mime4j/util/MimeUtil.java
Date Sat, 31 Jan 2009 21:25:42 GMT
Author: mwiederkehr
Date: Sat Jan 31 21:25:42 2009
New Revision: 739622

URL: http://svn.apache.org/viewvc?rev=739622&view=rev
Log:
RFC 2045: transfer encoding mechanisms are not case sensitive

Modified:
    james/mime4j/trunk/src/main/java/org/apache/james/mime4j/util/MimeUtil.java

Modified: james/mime4j/trunk/src/main/java/org/apache/james/mime4j/util/MimeUtil.java
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/main/java/org/apache/james/mime4j/util/MimeUtil.java?rev=739622&r1=739621&r2=739622&view=diff
==============================================================================
--- james/mime4j/trunk/src/main/java/org/apache/james/mime4j/util/MimeUtil.java (original)
+++ james/mime4j/trunk/src/main/java/org/apache/james/mime4j/util/MimeUtil.java Sat Jan 31
21:25:42 2009
@@ -155,7 +155,7 @@
      * Returns, whether the given transfer-encoding is "quoted-printable".
      */
     public static boolean isQuotedPrintableEncoded(String pTransferEncoding) {
-        return ENC_QUOTED_PRINTABLE.equals(pTransferEncoding);
+        return ENC_QUOTED_PRINTABLE.equalsIgnoreCase(pTransferEncoding);
     }
 
     /**



Mime
View raw message