]> Cypherpunks repositories - gostls13.git/commit
net/mail: ignore whitespace between adjacent 'encoded-word's
authorHiroshi Ioka <hirochachacha@gmail.com>
Sat, 4 Mar 2017 10:47:19 +0000 (19:47 +0900)
committerIan Lance Taylor <iant@golang.org>
Tue, 7 Mar 2017 02:54:40 +0000 (02:54 +0000)
commit6491496d10c8e7e62f875c7781a2887564976b89
tree7d08a98765129c1f1c15e92d6df69ca88cdf5aa2
parent9207a7437e382e4a05436fc26a2e24740a0492ec
net/mail: ignore whitespace between adjacent 'encoded-word's

rfc2047 says:
  White space between adjacent 'encoded-word's is not displayed.

Although, mime package already have that feature,
we cannot simply reuse that code,
because there is a subtle difference in quoted-string handling.

Fixes #19363

Change-Id: I754201aa3c6b701074ad78fe46818af5b96cbd00
Reviewed-on: https://go-review.googlesource.com/37811
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/net/mail/message.go
src/net/mail/message_test.go