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

René Cordier commented on JAMES-3753:
-------------------------------------

> Fixes for flow are merged

For deflow you mean? Flow fixes PR is still opened

> 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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to