From dev-return-68575-apmail-geronimo-dev-archive=geronimo.apache.org@geronimo.apache.org Mon Oct 06 22:45:18 2008 Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 49925 invoked from network); 6 Oct 2008 22:45:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Oct 2008 22:45:18 -0000 Received: (qmail 92094 invoked by uid 500); 6 Oct 2008 22:45:16 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 91616 invoked by uid 500); 6 Oct 2008 22:45:15 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 91326 invoked by uid 99); 6 Oct 2008 22:45:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2008 15:45:15 -0700 X-ASF-Spam-Status: No, hits=-1999.9 required=10.0 tests=ALL_TRUSTED,DNS_FROM_SECURITYSAGE X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2008 22:44:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 358EA234C1E4 for ; Mon, 6 Oct 2008 15:44:44 -0700 (PDT) Message-ID: <469629270.1223333084204.JavaMail.jira@brutus> Date: Mon, 6 Oct 2008 15:44:44 -0700 (PDT) From: "Andreas Veithen (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Created: (GERONIMO-4340) MimePartDataSource incorrectly assumes that MimeMessages are never transfer encoded MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org MimePartDataSource incorrectly assumes that MimeMessages are never transfer encoded ----------------------------------------------------------------------------------- Key: GERONIMO-4340 URL: https://issues.apache.org/jira/browse/GERONIMO-4340 Project: Geronimo Issue Type: Bug Security Level: public (Regular issues) Components: mail Environment: All Reporter: Andreas Veithen Attachments: GERONIMO-4340.patch.txt MimePartDataSource#getInputStream() assumes that a MimeMessage instance never has a transfer encoding (other than 7bit, 8bit or binary) and simply delegates to MimeMessage#getContentStream(). This is incorrect. Example message that is incorrectly decoded by MimePartDataSource: Date: Tue, 7 Oct 2008 00:31:30 +0200 (CEST) From: test0@localhost Reply-To: test0@localhost To: test1@localhost Message-ID: urn:uuid:88163FD5618DFAA54C1223332290272 Subject: SOAPAction: null MIME-Version: 1.0 Content-Type: text/xml; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Message-ID: urn:uuid:88163FD5618DFAA54C1223332290272 =C3=A0 p= eine arriv=C3=A9s nous entr=C3=A2mes dans sa chambre<= /soapenv:Envelope> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.