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

Nicholas Boel accessd at pharcyde.org
Tue Nov 12 00:39:16 CET 2024


Hey Urs,

The first line you quoted below is not how I originally wrote it. I 
don't know if Thunderbird is removing quotes or not, but it should be:

(quote)From: (backslash)(quote)%s(backslash)(quote) (%s) <%s>(quote)

Either way, I've included Stephen, one of the developers of the server 
software I'm using. As we were in a lengthy conversation last night 
about this and I'm not much of a programmer, so I don't want any 
confusion here while trying to pass on what he says.

On 11/11/2024 8:56 AM, Urs Janßen wrote:
> 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.


-- 
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tin.org/pipermail/tin-bugs/attachments/20241111/1d07665b/attachment.htm>


More information about the tin-bugs mailing list