Closed albrechtd closed 4 years ago
All (ascii) whitespace is CFWS, you don't actually need a newline for it to be CFWS.
Ah! Reading RFC 5322 more closely, you're right, of course!
Sorry for the noise & thanks for the clarification…
Best, Albrecht.
GMime 3.2.7 will accept a header looking like
without throwing a parser warning (try e.g. examples/msgcheck). I noticed such headers in several malware/spam messages, apparently created by broken scripts or something similar.
If I understand RFC 5322 correctly, the whitespace between the addr-spec and the “>” is not allowed, though (a folding whitespace would be, but this isn't one):
Or did I miss something here?