geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-4340) MimePartDataSource incorrectly assumes that MimeMessages are never transfer encoded
Date Mon, 06 Oct 2008 22:44:44 GMT
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

<?xml version=3D'1.0' encoding=3D'UTF-8'?><soapenv:Envelope xmlns:soapenv=
=3D"http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><root>=C3=A0 p=
eine arriv=C3=A9s nous entr=C3=A2mes dans sa chambre</root></soapenv:Body><=
/soapenv:Envelope>



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message