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

Issue 7679043: code review 7679043: encoding/base64: Add a reader that discard \n and \r

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by Miek Gieben
Modified:
10 years, 10 months ago
Reviewers:
golang-dev, rsc, bradfitz
Visibility:
Public.

Description

encoding/base64: Add a reader that discard \n and \r The decoder gets confused by \n and \r, so filter these out using a small Reader that discards these. The same issue applies to the encoding/base32 package. Fixes issue 4779

Patch Set 1 #

Patch Set 2 : diff -r 83b0b94af636 https://code.google.com/p/go #

Patch Set 3 : diff -r 83b0b94af636 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -2 lines) Patch
M src/pkg/encoding/base32/base32.go View 1 2 chunks +23 lines, -1 line 0 comments Download
M src/pkg/encoding/base32/base32_test.go View 1 3 chunks +22 lines, -0 lines 0 comments Download
M src/pkg/encoding/base64/base64.go View 1 2 chunks +23 lines, -1 line 0 comments Download
M src/pkg/encoding/base64/base64_test.go View 1 3 chunks +26 lines, -0 lines 0 comments Download

Messages

Total messages: 6
Miek Gieben
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
11 years, 1 month ago (2013-03-10 07:45:14 UTC) #1
bradfitz
The first line of your commit description should summarize what it fixes, not how it ...
11 years, 1 month ago (2013-03-10 15:42:07 UTC) #2
Miek Gieben
Ok, I'll change the first line in the commit message. The TODO is about looking ...
11 years, 1 month ago (2013-03-11 15:25:41 UTC) #3
rsc
What is the relation of this CL to https://codereview.appspot.com/7311069/ ?
11 years, 1 month ago (2013-03-11 20:13:15 UTC) #4
rsc
This CL appears to change only the reader interface, not the raw Decode methods. The ...
11 years, 1 month ago (2013-03-11 20:51:26 UTC) #5
bradfitz
10 years, 10 months ago (2013-06-21 16:16:05 UTC) #6
R=close

Fixed elsewhere.
Sign in to reply to this message.

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