nmh-workers
[Top] [All Lists]

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

2016-02-24 19:59:56
I wrote:

mhfixmsg currently strips CRs out of text parts that it's decoding,  which is 
wrong.  I'll fix that, with default behavior.  But I plan to add an option to 
strip/not add CRs.

I just added -[no]crlflinebreaks switches to mhfixmsg:

    By default, carriage return characters are preserved or inserted
    at the end of each line of text content.  The -crlflinebreaks
    switch selects this behavior and is enabled by default.  The
    -nocrlflinebreaks switch causes carriage return characters to be
    stripped from, and not inserted in, text content when it is
    decoded and encoded.  Note that its use can cause the generation
    of MIME messages that do not conform with RFC 2046, §4.1.1,
    paragraph 1.

To enable the non-default behavior all the time (unless overriden
with -crlflinebreaks), add -nocrlflinebreaks to your mhfixmsg profile
component, e.g.,

mhfixmsg: -verbose -nocrlflinebreaks

David

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

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