You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2022/04/30 04:13:00 UTC
[jira] [Closed] (JAMES-3753) Bug in FlowedMessageUtils.deflow() can lead to quote characters being stripped
[ https://issues.apache.org/jira/browse/JAMES-3753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier closed JAMES-3753.
---------------------------------
Fix Version/s: 3.8.0
Resolution: Fixed
Fixes for flow are merged
> Bug in FlowedMessageUtils.deflow() can lead to quote characters being stripped
> ------------------------------------------------------------------------------
>
> Key: JAMES-3753
> URL: https://issues.apache.org/jira/browse/JAMES-3753
> Project: James Server
> Issue Type: Bug
> Reporter: cketti
> Priority: Minor
> Fix For: 3.8.0
>
> Time Spent: 2h 20m
> Remaining Estimate: 0h
>
> When a quoted line ends with a space and is followed by an empty line (quote depth 0), the text isn't decoded properly.
> Example (the text "Quoted" is followed by a space, indicating a flowed line):
> {noformat}
> > Quoted
> Text
> {noformat}
> will be deflowed to
> {noformat}
> Quoted
> Text
> {noformat}
> [RFC 3676|https://datatracker.ietf.org/doc/html/rfc3676] specifically mentions this case:
> {quote}A generating agent MUST NOT create this situation; a receiving agent SHOULD handle it by giving preference to the quote depth.
> {quote}
> However, an email containing such data was encountered in the wild. See [https://github.com/k9mail/k-9/issues/6029].
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org