Michael Storz via Postfix-users wrote in
 <[email protected]>:
 |Am 2024-01-31 15:09, schrieb David Bürgin via Postfix-users:
 |> Michael Storz:
 |>> FWS             =   ([*WSP CRLF] 1*WSP) /  obs-FWS
 |>> 
 |>> A FWS can be a single WSP or a folded line.
 |>> 
 |>> Therefore the date "Fri,  5 Jan 2024 16:48:37 -0500 (EST)" is 
 |>> syntactically incorrect, because there can be only one blank between 
 |>> "," and "5", not two by the syntax of RFC 5322.
 |> 
 |> This is nonsense, ‘1*WSP’ means one or more WSP characters.
 |
 |Yup, you're right. I mixed it up with '*1WSP' which makes no sense.

Actually for backward-compatibility reasons, or malicious party
ones, always allowing CFWS seems to be a good thing for a parser
(that simply has to make some sense of the stuff, in practice,
i think, users do not care but want to have a result).
I just finished my one last Friday, and the only place where i do
not support CFWS but only FWS is inside domain literals.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to