-
Notifications
You must be signed in to change notification settings - Fork 48
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
mmime breaks headers #257
Comments
The extra newline character comes from this line in mmime.c https://github.com/leahneukirchen/mblaze/blob/master/mmime.c#L352 However, removing it breaks the tests and I don't think it's the right solution anyway 😅 |
Ok, I can reproduce this. Let me see how to solve this properly. |
I got a diff with which the tests pass, not sure it's good though
|
yes, sounds reasonable. in theory, one could wrap the |
want to make a PR or shall i just pick it up? |
please fix it, I feel I randomly fixed it without understanding the consequences ;) |
Nah, your code is correct: it checks we are not at the beginning of a line. |
Fixed in cf5493b. |
hi,
when I apply
mmime
(from OpenBSD packages) on an email sent from tuta.io, a newline is added to the field DKIM-Signature, which breaks the emailmy sample email to reproduce it (I slightly modified the original to redact some addresses)
If you pipe it to
mmime
you obtain this result:The text was updated successfully, but these errors were encountered: