[tin-bugs] Tin incorrectly parses comment blocks in CFWS blocks (per RFC5322 3.2.2)

Urs Janßen urs at tin.org
Mon Nov 11 15:56:22 CET 2024


On Mon, Nov 11, 2024 at 07:50:47AM -0600, Nicholas Boel wrote:
> From: \"%s\" (%s) <%s>

which is illegal

> and here is what tin is outputting in the header:
> 
> From: "\"Some Body\" (Cool Guy)" <somebody at example.com>

which would be legal

> However, slrn (Linux) outputs this:
> 
> From: "Some Body" (Cool Guy) <somebody at example.com>

slrn displays it as it is where as tin reformats it so it can be passed on
to a mailer if replying to such a post via email.

> If this is correct behavior for tin, do you have any ideas as to why it is
> being displayed differently in all three newsreaders, or able to provide a
> better example of how this should work?

there is no such thing as "how it should work" when in the input is illegal.
it would be even ok to refuse to load/display such an article at all.



More information about the tin-bugs mailing list