1
0
mirror of https://github.com/golang/go synced 2024-10-01 13:18:33 -06:00
go/src/net/mail
Conrad Irwin 7f52b43954 net/mail: allow utf-8 in ParseAddress
The existing implementation correctly supported RFC 5322, this
change adds support for UTF-8 while parsing as specified by
RFC 6532. The serialization code is unchanged, so emails created
by go remain compatible with very legacy systems.

Fixes #14260

Change-Id: Ib57e510f5834d273605e1892679f2df19ea931b1
Reviewed-on: https://go-review.googlesource.com/19687
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alexandre Cesaro <alexandre.cesaro@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-04-15 13:57:26 +00:00
..
example_test.go net/mail: add example to package 2015-07-16 22:34:35 +00:00
message_test.go net/mail: allow utf-8 in ParseAddress 2016-04-15 13:57:26 +00:00
message.go net/mail: allow utf-8 in ParseAddress 2016-04-15 13:57:26 +00:00