Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 57FF16EB9 for ; Sat, 28 May 2011 08:52:31 +0000 (UTC) Received: (qmail 83245 invoked by uid 500); 28 May 2011 08:52:31 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 83136 invoked by uid 500); 28 May 2011 08:52:31 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 83055 invoked by uid 99); 28 May 2011 08:52:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 May 2011 08:52:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 May 2011 08:52:28 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 68E28E4455 for ; Sat, 28 May 2011 08:51:47 +0000 (UTC) Date: Sat, 28 May 2011 08:51:47 +0000 (UTC) From: "Taariq Levack (JIRA)" To: dev@camel.apache.org Message-ID: <270358875.50658.1306572707426.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <571050800.37324.1306183547570.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CAMEL-4007) Attachment Names not Encoded Correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CAMEL-4007?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Taariq Levack updated CAMEL-4007: --------------------------------- Attachment: Camel-4007_Failing_test_with_umlaut_in_file_name_.patch It could be that Spring or Javamail messes with the filename when there are= unicode characters, surrounding it with quotes. I copied the passing unit for mail attachments and changed it to include an= umlaut and now the test fails. Take a look at the output, extra quotes for such a filename... Expected :image/jpeg; name=3Dlogo2=C3=AB.jpeg Actual :image/jpeg; name=3D"logo2=C3=AB.jpeg" The failing test is attached. > Attachment Names not Encoded Correctly > -------------------------------------- > > Key: CAMEL-4007 > URL: https://issues.apache.org/jira/browse/CAMEL-4007 > Project: Camel > Issue Type: Bug > Components: camel-mail > Affects Versions: 2.7.1 > Reporter: Karthz > Priority: Minor > Labels: attachments, camel-mail, charset, encoding, unicode > Fix For: 2.9.0 > > Attachments: Camel-4007_Failing_test_with_umlaut_in_file_name_.pa= tch > > > If attachment file names contain unicode characters, they do not appear c= orrectly encoded in the message. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira