Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(389)

Issue 55770043: code review 55770043: net/mail: correctly handle whitespaces when formatting ...

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 3 months ago by j.czarnowicz
Modified:
10 years, 2 months ago
Reviewers:
gobot, dsymonds, dsymonds1, dave
CC:
golang-codereviews, dsymonds, dave_cheney.net, dsymonds1
Visibility:
Public.

Description

net/mail: correctly handle whitespaces when formatting an email address Whitespace characters are allowed in quoted-string according to RFC 5322 without being "Q"-encoding. Address.String() already always formats the name portion in quoted string, so whitespace characters should be allowed in there. Fixes issue 6641.

Patch Set 1 #

Patch Set 2 : diff -r 2a595fd8c22b http://code.google.com/p/go/ #

Patch Set 3 : diff -r 2a595fd8c22b http://code.google.com/p/go/ #

Total comments: 4

Patch Set 4 : diff -r ae14bde9ce3c http://code.google.com/p/go/ #

Patch Set 5 : diff -r ae14bde9ce3c http://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -2 lines) Patch
M src/pkg/net/mail/message.go View 1 2 3 3 chunks +10 lines, -2 lines 0 comments Download
M src/pkg/net/mail/message_test.go View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 8
j.czarnowicz
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to http://code.google.com/p/go/
10 years, 3 months ago (2014-01-22 19:58:22 UTC) #1
gobot
R=dsymonds@golang.org (assigned by bradfitz@golang.org)
10 years, 3 months ago (2014-01-22 21:50:34 UTC) #2
dave_cheney.net
LGTM. Can you please respond to the review comments then I will submit this. https://codereview.appspot.com/55770043/diff/30003/src/pkg/net/mail/message.go ...
10 years, 2 months ago (2014-02-05 02:59:09 UTC) #3
dsymonds1
NOT LGTM just yet https://codereview.appspot.com/55770043/diff/30003/src/pkg/net/mail/message.go File src/pkg/net/mail/message.go (right): https://codereview.appspot.com/55770043/diff/30003/src/pkg/net/mail/message.go#newcode162 src/pkg/net/mail/message.go:162: if !isVchar(a.Name[i]) && !isWSP(a.Name[i]) { ...
10 years, 2 months ago (2014-02-05 03:21:37 UTC) #4
j.czarnowicz
Hello golang-codereviews@googlegroups.com, gobot@golang.org, dsymonds@golang.org, dave@cheney.net, dsymonds@google.com (cc: golang-codereviews@googlegroups.com), Please take another look.
10 years, 2 months ago (2014-02-06 12:21:24 UTC) #5
dsymonds
LGTM
10 years, 2 months ago (2014-02-06 23:45:17 UTC) #6
dsymonds
*** Submitted as https://code.google.com/p/go/source/detail?r=9623db1cea87 *** net/mail: correctly handle whitespaces when formatting an email address Whitespace ...
10 years, 2 months ago (2014-02-06 23:49:28 UTC) #7
gobot
10 years, 2 months ago (2014-02-06 23:54:10 UTC) #8
This CL appears to have broken the freebsd-amd64 builder.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b