james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niklas Therning (JIRA)" <server-...@james.apache.org>
Subject [jira] Commented: (MIME4J-59) Quoted-Printable encoded body no more decoded
Date Sun, 20 Jul 2008 20:42:31 GMT

    [ https://issues.apache.org/jira/browse/MIME4J-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615121#action_12615121
] 

Niklas Therning commented on MIME4J-59:
---------------------------------------

This bug was introduced while fixing MIME4J-37: 
http://svn.apache.org/viewvc/james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/Message.java?r1=659992&r2=660013&diff_format=h

Seems like some code have changed in the Message.MessageBuilder.body(). In 0.3 we used to
do the QP/Base64 wrapping based on the transfer encoding in this method but this has been
removed since. Instead the TempFileBinaryBody takes the transfer encoding as a parameter and
does the wrapping itself. However, the TempFileTextBody class doesn't do any wrapping. I think
we need to change TempFileTextBody to take the encoding as a parameter and do the wrapping
just as TempFileBinaryBody does. The Body implementations need the transfer encoding for their
writeTo() methods to work properly. Right now I think the writeTo() method of TempFileTextBody
is broken.


> Quoted-Printable encoded body no more decoded
> ---------------------------------------------
>
>                 Key: MIME4J-59
>                 URL: https://issues.apache.org/jira/browse/MIME4J-59
>             Project: Mime4j
>          Issue Type: Bug
>    Affects Versions: 0.4
>            Reporter: Stefano Bagnara
>             Fix For: 0.4
>
>         Attachments: qp-body.msg, qp-body_decoded.xml, simple-7bit-body_decoded_1.txt
>
>
> I'm not sure when this happened but it seems we are no more decoding quoted printable
content.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message