[ 
https://issues.apache.org/jira/browse/GERONIMO-4340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Veithen updated GERONIMO-4340:
--------------------------------------

    Attachment: GERONIMO-4340.patch.txt

> 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: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> 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.

Reply via email to