From 7825ca6a63502e3b8decb0b569513dd6b5954aa7 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 2 Jun 2016 12:33:34 -0700 Subject: [PATCH] doc/go1.7.html: net/mail.ParseAddress is stricter Fixes #15940. Change-Id: Ie6da6fef235c6a251caa96d45f606c05d118a0ac Reviewed-on: https://go-review.googlesource.com/23710 Run-TryBot: Ian Lance Taylor TryBot-Result: Gobot Gobot Reviewed-by: Travis Beatty Reviewed-by: Andrew Gerrand --- doc/go1.7.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/go1.7.html b/doc/go1.7.html index ae724e8a63..2a3c3c95d2 100644 --- a/doc/go1.7.html +++ b/doc/go1.7.html @@ -975,6 +975,15 @@ the address encoder, namely String method, continues to escape all UTF-8 text following RFC 5322.

+ +

+The ParseAddress +function and +the AddressParser.Parse +method are stricter. +They used to ignore any characters following an e-mail address, but +will now return an error for anything other than whitespace. +

net/url
-- 2.48.1