Return-Path: Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: (qmail 34737 invoked from network); 13 Feb 2009 20:46:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2009 20:46:20 -0000 Received: (qmail 16411 invoked by uid 500); 13 Feb 2009 20:46:19 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 16364 invoked by uid 500); 13 Feb 2009 20:46:19 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 16354 invoked by uid 99); 13 Feb 2009 20:46:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2009 12:46:19 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2009 20:46:17 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 771BB23889BB; Fri, 13 Feb 2009 20:45:56 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r744237 - /cxf/trunk/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentUtil.java Date: Fri, 13 Feb 2009 20:45:56 -0000 To: commits@cxf.apache.org From: dkulp@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090213204556.771BB23889BB@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dkulp Date: Fri Feb 13 20:45:55 2009 New Revision: 744237 URL: http://svn.apache.org/viewvc?rev=744237&view=rev Log: Content-type lookup should be case insensitive Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentUtil.java Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentUtil.java URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentUtil.java?rev=744237&r1=744236&r2=744237&view=diff ============================================================================== --- cxf/trunk/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentUtil.java (original) +++ cxf/trunk/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentUtil.java Fri Feb 13 20:45:55 2009 @@ -154,6 +154,7 @@ if (contentType == null) { return false; } + contentType = contentType.toLowerCase(); for (String s : types) { if (contentType.indexOf(s) != -1) { return true;