-
-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: mimeTree rebuilding does not join boundaries by a line break delimiter (e.g. \r\n
)
#571
Comments
Seems to be an issue with the parser 🤔 |
This specific parser bug triggers if the email does not end with a linebreak character. How did you get this email? Any email received via SMTP always ends with a linebreak? |
In any case, I verified it, and it is a legitimate bug. It should be extremely rare in production, as emails always end with a linebreak unless you compose an email manually and use APPEND to upload it. I guess this is why it hasn't been discovered before - you need a multipart email with no-multipart text content and without an ending linebreak. |
But the issue is not on the composing side, but on the parsing side. The composer behaves correctly. |
Can we make it so the mimeTree when rebuilt has proper line breaks with boundaries?
Before WildDuck:
After WildDuck:
You can see the difference with the line break before boundary delimiter.
The text was updated successfully, but these errors were encountered: