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
The following program errors out:
addr, err := mail.ParseAddress("=?utf-8?q?btrahan_(Bob_Trahan)?= <noreply@phabricator.com>")
if err != nil {
fmt.Println(err)
}
with:
mail: no angle-addr
Although the given address is valid.
The text was updated successfully, but these errors were encountered:
That address is not valid according to RFC 5322. Those parens should have been escaped.
You could make the case that net/mail should still parse it, but you'd need to back that
up with some idea of how common that spec violation is.
by Artagnon:
The text was updated successfully, but these errors were encountered: