You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "spencerwuwu (via GitHub)" <gi...@apache.org> on 2025/09/30 21:13:36 UTC

[PR] EMAIL-212 MIME closing boundary delimiter incorrectly accepted when followed by extra characters [commons-email]

spencerwuwu opened a new pull request, #380:
URL: https://github.com/apache/commons-email/pull/380

   Submit a failing testcase for the issue reported at Jira [EMAIL-212](https://issues.apache.org/jira/browse/EMAIL-212)
   
   According to RFC 2046 ยง5.1.1, a boundary delimiter line is defined as:
   > a line consisting entirely of two hyphen characters ("--"), followed by the boundary parameter value from the Content-Type header, optionally followed by whitespace, and terminated by CRLF.
   
   Tested on a few peer implementations and found that they all obtained the body content as shown in the unit test.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org