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

Issue 12204043: code review 12204043: net/http: don't write out invalid cookie lines (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by bradfitz
Modified:
10 years, 9 months ago
Reviewers:
rsc
CC:
golang-dev, fvb, rsc
Visibility:
Public.

Description

net/http: don't write out invalid cookie lines Fixes issue 3033

Patch Set 1 #

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

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

Total comments: 6

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

Total comments: 6

Patch Set 5 : diff -r 574c641e7952 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -8 lines) Patch
M src/pkg/net/http/cookie.go View 1 2 3 4 3 chunks +62 lines, -7 lines 0 comments Download
M src/pkg/net/http/cookie_test.go View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download
M src/pkg/net/http/request.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7
bradfitz
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
10 years, 9 months ago (2013-07-31 23:05:35 UTC) #1
fvb
https://codereview.appspot.com/12204043/diff/6001/src/pkg/net/http/cookie.go File src/pkg/net/http/cookie.go (right): https://codereview.appspot.com/12204043/diff/6001/src/pkg/net/http/cookie.go#newcode270 src/pkg/net/http/cookie.go:270: return b > 0x20 && b != 0x22 && ...
10 years, 9 months ago (2013-08-01 07:20:39 UTC) #2
bradfitz
PTAL https://codereview.appspot.com/12204043/diff/6001/src/pkg/net/http/cookie.go File src/pkg/net/http/cookie.go (right): https://codereview.appspot.com/12204043/diff/6001/src/pkg/net/http/cookie.go#newcode270 src/pkg/net/http/cookie.go:270: return b > 0x20 && b != 0x22 ...
10 years, 9 months ago (2013-08-01 17:37:22 UTC) #3
bradfitz
Hello golang-dev@googlegroups.com, fvbommel@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
10 years, 9 months ago (2013-08-01 17:38:35 UTC) #4
rsc
LGTM https://codereview.appspot.com/12204043/diff/13001/src/pkg/net/http/cookie.go File src/pkg/net/http/cookie.go (right): https://codereview.appspot.com/12204043/diff/13001/src/pkg/net/http/cookie.go#newcode242 src/pkg/net/http/cookie.go:242: return b > 0x20 && b != 0x22 ...
10 years, 9 months ago (2013-08-01 18:08:57 UTC) #5
bradfitz
https://codereview.appspot.com/12204043/diff/13001/src/pkg/net/http/cookie.go File src/pkg/net/http/cookie.go (right): https://codereview.appspot.com/12204043/diff/13001/src/pkg/net/http/cookie.go#newcode242 src/pkg/net/http/cookie.go:242: return b > 0x20 && b != 0x22 && ...
10 years, 9 months ago (2013-08-01 18:15:48 UTC) #6
bradfitz
10 years, 9 months ago (2013-08-01 19:16:41 UTC) #7
*** Submitted as https://code.google.com/p/go/source/detail?r=65920aec044a ***

net/http: don't write out invalid cookie lines

Fixes issue 3033

R=golang-dev, fvbommel, rsc
CC=golang-dev
https://codereview.appspot.com/12204043
Sign in to reply to this message.

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