4 ms·
When validating email addresses in my Atom feed generation library, I use a "common-sense subset" of RFC 5322 [1]. If that email address validation is "wrong"
by velcrovan 4y ago
When validating email addresses in my Atom feed generation library, I use a "common-sense subset" of RFC 5322 [1].
If that email address validation is "wrong" anywhere in the sense of conflicting with real-world usage, it's probably mostly in not allowing UTF-8 characters in the local or domain parts. I'm guessing that for that I'll need to dig into RFC 6531 and 5890.
[1]: https://docs.racket-lang.org/splitflap/mod-constructs.html#%28def._%28%28lib._splitflap%2Fconstructs..rkt%29._email-address~3f%29%29 https://docs.racket-lang.org/splitflap/mod-constructs.html#%...