james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Bagnara (JIRA)" <mime4j-...@james.apache.org>
Subject [jira] Resolved: (MIME4J-146) [possible backward incompatibility] Make sure "body" is always unfolded, "raw" is always folded, both in RawField and ParsedFields.
Date Sun, 27 Dec 2009 19:45:29 GMT

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

Stefano Bagnara resolved MIME4J-146.
------------------------------------

    Resolution: Fixed

IMO this works as expected now.
All tests still pass.
If you have external code depending on the previous behaviour please provide a testcase so
that we can discuss the need of body to be unfolded in the parser and not by RawField.

> [possible backward incompatibility] Make sure "body" is always unfolded, "raw" is always
folded, both in RawField and ParsedFields.
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MIME4J-146
>                 URL: https://issues.apache.org/jira/browse/MIME4J-146
>             Project: JAMES Mime4j
>          Issue Type: Task
>    Affects Versions: 0.6
>            Reporter: Stefano Bagnara
>            Assignee: Stefano Bagnara
>            Priority: Critical
>             Fix For: 0.7
>
>
> In the current code it's not consistent how we deal with folding and unfolding.
> The most used way (in the current code) is to have "raw" as the original, folded, version
of the header, while body includes the unfolded/decoded version of the header.
> RawField.getBody should be changed to "unfold" the field.

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


Mime
View raw message