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

Issue 148890043: code review 148890043: net/http: allow double-quotes only on cookie values, no... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 7 months ago by nigeltao
Modified:
9 years, 7 months ago
Reviewers:
volker.dobler
CC:
volker.dobler, bradfitz, golang-codereviews
Visibility:
Public.

Description

net/http: allow double-quotes only on cookie values, not cookie attribute values, a la RFC 6265 section 4.1.1 "Syntax". Fixes issue 7751.

Patch Set 1 #

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

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

Total comments: 4

Patch Set 4 : diff -r 4c2e269181ea0e5cd8694c34dbfa7e360564f602 https://code.google.com/p/go/ #

Patch Set 5 : diff -r e3263cbf8a615e6815019b85e220c95347e6c272 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -5 lines) Patch
M src/net/http/cookie.go View 1 2 3 4 chunks +5 lines, -5 lines 0 comments Download
M src/net/http/cookie_test.go View 1 2 3 2 chunks +32 lines, -0 lines 0 comments Download

Messages

Total messages: 5
nigeltao
Hello dr.volker.dobler@gmail.com (cc: bradfitz@golang.org, golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
9 years, 7 months ago (2014-09-23 07:58:42 UTC) #1
volker.dobler
https://codereview.appspot.com/148890043/diff/40001/src/net/http/cookie.go File src/net/http/cookie.go (right): https://codereview.appspot.com/148890043/diff/40001/src/net/http/cookie.go#newcode208 src/net/http/cookie.go:208: val, success := parseCookieValue(val, i == 0) Why the ...
9 years, 7 months ago (2014-09-23 12:11:29 UTC) #2
nigeltao
https://codereview.appspot.com/148890043/diff/40001/src/net/http/cookie.go File src/net/http/cookie.go (right): https://codereview.appspot.com/148890043/diff/40001/src/net/http/cookie.go#newcode208 src/net/http/cookie.go:208: val, success := parseCookieValue(val, i == 0) On 2014/09/23 ...
9 years, 7 months ago (2014-09-24 08:32:48 UTC) #3
volker.dobler
LGTM
9 years, 7 months ago (2014-09-24 12:04:02 UTC) #4
nigeltao
9 years, 7 months ago (2014-09-25 00:22:13 UTC) #5
*** Submitted as https://code.google.com/p/go/source/detail?r=c1d3de1db78e ***

net/http: allow double-quotes only on cookie values, not cookie
attribute values, a la RFC 6265 section 4.1.1 "Syntax".

Fixes issue 7751.

LGTM=dr.volker.dobler
R=dr.volker.dobler
CC=bradfitz, golang-codereviews
https://codereview.appspot.com/148890043
Sign in to reply to this message.

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