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

aaron pieper updated CXF-1847:
------------------------------

    Attachment: AttachmentDeserializer.java

The patched AttachmentDeserializer which we are using in production. This patch 
introduces a dependency on geronimo's QuotedPrintableDecoderStream class, which 
might be a bad thing.

The referenced QuotedPrintableDecoderStream class had some issues of its own 
which I also needed to patch.

> 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
>
>
> 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.

Reply via email to