You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This shows that the local-part of an address can be a quoted-string that contains a FWS (Folding white space) anywhere, separated by qcontent. Right now only spaces inside quotes are considered valid by the validator. Spaces alone also form a Folding white space but it can also consist of horizontal tabs and a single Windows-style newline .
I've prepared a few test cases for this. These should validate:
Right, my mistake. I think it would be useful to mention in the readme that this is a validator for SMTP envelope type email address instead of IMF type address.
Hi, I've noticed that these addresses fail to validate but should be allowed under RFC 5322:
I've gathered the necessary definitions from sections 3.4.1
3.2.4
3.2.2
and RFC 5234 Appendix B.1
This shows that the
local-part
of an address can be aquoted-string
that contains aFWS
(Folding white space) anywhere, separated byqcontent
. Right now only spaces inside quotes are considered valid by the validator. Spaces alone also form a Folding white space but it can also consist of horizontal tabs and a single Windows-style newline .I've prepared a few test cases for this. These should validate:
These should fail:
The text was updated successfully, but these errors were encountered: