Commit d2bff757 authored by David Symonds's avatar David Symonds

net/mail: comment our divergence from RFC 5322.

R=golang-dev, bradfitz
CC=golang-dev, ryanslade
https://golang.org/cl/12588044
parent 554d47ec
......@@ -342,6 +342,8 @@ func (p *addrParser) consumePhrase() (phrase string, err error) {
word, err = p.consumeQuotedString()
} else {
// atom
// We actually parse dot-atom here to be more permissive
// than what RFC 5322 specifies.
word, err = p.consumeAtom(true)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment