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

Issue 7300092: code review 7300092: mime/multipart: allow unescaped newlines through in quo... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by bradfitz
Modified:
11 years, 2 months ago
Reviewers:
CC:
minux1, golang-dev
Visibility:
Public.

Description

mime/multipart: allow unescaped newlines through in quoted-printable This makes Go's quoted-printable decoder more like other popular ones, allowing through a bare \r or \n, and also passes through \r\n which looked like a real bug before. Fixes issue 4771

Patch Set 1 #

Patch Set 2 : diff -r 6c6b3968b605 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 6c6b3968b605 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 6c6b3968b605 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 537555f45dcc https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r d46d4fb24d4f https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r d46d4fb24d4f https://go.googlecode.com/hg/ #

Patch Set 8 : diff -r d46d4fb24d4f https://go.googlecode.com/hg/ #

Total comments: 4

Patch Set 9 : diff -r ddb9e6365e57 https://go.googlecode.com/hg/ #

Patch Set 10 : diff -r 6a88e1893941 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -12 lines) Patch
M src/pkg/mime/multipart/quotedprintable.go View 1 2 3 4 5 6 7 8 5 chunks +49 lines, -11 lines 0 comments Download
M src/pkg/mime/multipart/quotedprintable_test.go View 1 2 3 4 5 6 7 8 3 chunks +148 lines, -1 line 0 comments Download

Messages

Total messages: 8
bradfitz
Hello minux.ma@gmail.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 2 months ago (2013-02-11 22:52:49 UTC) #1
bradfitz
Hello minux.ma@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 2 months ago (2013-02-19 18:11:00 UTC) #2
minux1
https://codereview.appspot.com/7300092/diff/16001/src/pkg/mime/multipart/quotedprintable.go File src/pkg/mime/multipart/quotedprintable.go (right): https://codereview.appspot.com/7300092/diff/16001/src/pkg/mime/multipart/quotedprintable.go#newcode5 src/pkg/mime/multipart/quotedprintable.go:5: // The file define a quoted-printable decoder, as specified ...
11 years, 2 months ago (2013-02-20 17:21:35 UTC) #3
bradfitz
Hello minux.ma@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 2 months ago (2013-02-21 00:33:15 UTC) #4
bradfitz
PTAL https://codereview.appspot.com/7300092/diff/16001/src/pkg/mime/multipart/quotedprintable.go File src/pkg/mime/multipart/quotedprintable.go (right): https://codereview.appspot.com/7300092/diff/16001/src/pkg/mime/multipart/quotedprintable.go#newcode5 src/pkg/mime/multipart/quotedprintable.go:5: // The file define a quoted-printable decoder, as ...
11 years, 2 months ago (2013-02-21 00:39:57 UTC) #5
bradfitz
ping On Wed, Feb 20, 2013 at 4:39 PM, <bradfitz@golang.org> wrote: > PTAL > > ...
11 years, 2 months ago (2013-02-22 07:38:27 UTC) #6
minux1
LGTM. This is more complex than I though, but ok, we can optimize it later ...
11 years, 2 months ago (2013-02-22 08:29:27 UTC) #7
bradfitz
11 years, 2 months ago (2013-02-22 18:40:27 UTC) #8
*** Submitted as https://code.google.com/p/go/source/detail?r=b3bb265bfecf ***

mime/multipart: allow unescaped newlines through in quoted-printable

This makes Go's quoted-printable decoder more like other
popular ones, allowing through a bare \r or \n, and also
passes through \r\n which looked like a real bug before.

Fixes issue 4771

R=minux.ma
CC=golang-dev
https://codereview.appspot.com/7300092
Sign in to reply to this message.

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