nmh-workers
[Top] [All Lists]

Re: slocal (v1.0.2) garbles 8bit mail parts

2002-09-07 01:30:05
Tobias Polzin <polzin(_at_)gmx(_dot_)de> wrote:

I don't like BASE64/Quoted-Printable Encoded Mails, because they
are difficult to Quote and Search with exmh/glimple.
If I use "/usr/lib/python/mimefy.py -b -d | /usr/mh/lib/slocal"
some 8bit Parts of Mails got garbled by slocal. It seems to me,
everything in a line following a "zero char" (including the
trailing newline) is removed.

Why am I not surprised.

I don't know, whether it is allowed to have zero chars in 8bit 
components of mails, anyway it should not be too difficult to
tell slocal leave everything in the mail as it is.

"slocal" is only one of a zillion programs that cannot properly
handle embedded '\0' characters.

This is, at least in part, due to the unfortunate "design" of
fgets().

 -NWR


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