[ 
https://issues.apache.org/jira/browse/AXIOM-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078331#comment-13078331
 ] 

Hudson commented on AXIOM-379:
------------------------------

Integrated in ws-axiom-trunk #478 (See 
[https://builds.apache.org/job/ws-axiom-trunk/478/])
    AXIOM-379: Always decode the attachment while reading from the MIME message 
instead of buffering the encoded content. Also make sure that the DataHandler 
instances created by Attachments actually return the decoded content.

veithen : 
Files : 
* 
/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/impl/PartOnMemory.java
* /webservices/commons/trunk/modules/axiom/src/docbkx/userguide.xml
* 
/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/impl/PartFactory.java
* 
/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/attachments/AttachmentsTest.java
* 
/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/impl/PartOnMemoryEnhanced.java


> Attachments buffered using files are not decoded
> ------------------------------------------------
>
>                 Key: AXIOM-379
>                 URL: https://issues.apache.org/jira/browse/AXIOM-379
>             Project: Axiom
>          Issue Type: Bug
>    Affects Versions: 1.2.12
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>             Fix For: 1.2.13
>
>
> When PartOnFile is used (i.e. when the length is above the threshold and a 
> file is used to buffer the attachment) and the attachment uses a 
> Content-Transfer-Encoding other than binary, then the input stream returned 
> by the corresponding DataHandler is incorrect. It represents the raw content 
> of the attachment, but it should be the decoded content. This only occurs 
> with PartOnFile; PartOnMemory(Enhanced) works correctly.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org
For additional commands, e-mail: dev-h...@ws.apache.org

Reply via email to