Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
net/mail Error while parsing an email address with string literal(\n) inside a quoted string #39856
What version of Go are you using (
According to https://tools.ietf.org/html/rfc5322#section-3.2.4, a quoted string may only contain ascii values, 33, 35-91 , and 93-126.
Can you explain how you came across this arguably invalid address, does it appear in the wild?
No, The email fields were generated, (checked^) before email is sent
I also want to point out that '\t' in the quoted string, somehow gets parsed (even though it is ascii 9) https://play.golang.org/p/Pgwes5n-N5y