[Top] [All Lists]

Re: [Nmh-workers] base64 ... just looking for advice

2016-02-21 16:33:46
What I was compaining about was that the data payload (i. e. the
text/html which was encoded) would be converted to CR/LF, i. e.


should NOT be converted to


I am sorry, but you are wrong.  The latter form is 100% correct,
according to the RFCs (see RFC 2046, §4.1.1, paragraph 1).

Now, should mhfixmsg correct that?  Weeelll ... good question.  The
reason it is happening is because our MIME parser is now doing the
'right' thing, and essentially the whole message is being regenerated.
Fixing that would involve telling the base64 parser to not perform the
line ending translation for (some) text parts.  Part of me sees the
point about not modifying parts of messages you haven't told it to, but
a (larger) part of me thinks: seriously?  That message is incorrectly
formatted, and the name of the tool is "mhfixmsg".  I think David has
to make this call.


Nmh-workers mailing list

<Prev in Thread] Current Thread [Next in Thread>