News for hackers. Stuff that matters.
Re:Validating email addresses: A journey down RFC5321 [video] by StavrosK on Monday February 12, 2018 @08:54AM (#16358515)
Can you clarify on what CFWS is? I found what the acronym stands for, but not what it actually means.
Re:Validating email addresses: A journey down RFC5321 [video] by jcranmer on Monday February 12, 2018 @08:58AM (#16358541)
Comment-folded whitespace. It's the little things in parentheses (e.g., the timezone name is usually included in a comment in the Date: header). It's also the bane of anyone who has ever implemented an email message parser.
Re:Validating email addresses: A journey down RFC5321 [video] by StavrosK on Monday February 12, 2018 @09:03AM (#16358573)
That makes sense, thank you.
Re:Validating email addresses: A journey down RFC5321 [video] by IIIIIIIIIIIIIII on Monday February 12, 2018 @09:00AM (#16358553)
This StackOverflow replay happens to answer this question exactly, the actual definition of "CFWS" is near the bottom of the text:

https://stackoverflow.com/a/42193413/544779

It's just an excerpt of the spec, but I link to it instead of to the spec because I think it's easier to read (formatting/colors) and it has links to the spec anyway.

Re:Validating email addresses: A journey down RFC5321 [video] by StavrosK on Monday February 12, 2018 @09:03AM (#16358571)
Ahh, thank you, I missed that part of the spec. The "folding" part was what confused me, thanks again.