[
https://issues.apache.org/jira/browse/CXF-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
aaron pieper updated CXF-1847:
------------------------------
Attachment: QuotedPrintableDecoderStream.java
The patched QuotedPrintableDecoderStream. This code was derived from Geronimo's
QuotedPrintableDecoderStream and QuotedPrintableEncoder classes, both of which
were released under the ASF license, so they should be OK to include here.
This fixes two issues with QuotedPrintableDecoderStream:
QuotedPrintableDecoderStream read should return -1 when no more data
http://www.mail-archive.com/[EMAIL PROTECTED]/msg60132.html
QuotedPrintableEncoder.decode(InputStream) doesn't handle space before soft
newline
http://www.mail-archive.com/[EMAIL PROTECTED]/msg60213.html
> AttachmentDeserializer cannot handle attachments with Quoted Printable
> content transfer encoding
> ------------------------------------------------------------------------------------------------
>
> Key: CXF-1847
> URL: https://issues.apache.org/jira/browse/CXF-1847
> Project: CXF
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.1
> Reporter: aaron pieper
> Attachments: AttachmentDeserializer.java,
> QuotedPrintableDecoderStream.java
>
>
> I am writing a Web Service using CXF. The problem occurs when CXF receives
> quoted printable attachments, like this one:
> ------=_Part_6_1979395.1210796510882
> Content-Type: text/xml; charset=Cp1252
> Content-Transfer-Encoding: quoted-printable
> Content-ID: 606517570647
> <?xml version=3D"1.0" encoding=3D"UTF-8"?>
> <MyXml attribute=3D"value">
> </MyXml>
> The AttachmentDeserializer does not decode the "=3D" portions of the
> attachment. As a result, any downstream interceptors which are expecting XML
> content complain, because the =3D parts of the attachment make it non-XML
> compliant.
> This issue was originally reported to the mailing list here:
> http://www.nabble.com/AttachmentDeserializer---handling-attachments-with-quoted-printable-content-transfer-encoding--tt17259696.html#a17259696
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.