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

Issue 13111043: code review 13111043: net/http: do not send leading dot in cookie domain attribute (Closed)

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

Description

net/http: do not send leading dot in cookie domain attribute RFC 6265 allows a leading dot in a cookie domain attribute but is clear (see section 4.1.1) that a Set-Cookie header should be sent without these dots.

Patch Set 1 #

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

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

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

Messages

Total messages: 4
volker.dobler
Hello bradfitz@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
11 years, 9 months ago (2013-08-19 21:47:04 UTC) #1
volker.dobler
gentle ping...
11 years, 8 months ago (2013-08-26 08:53:33 UTC) #2
bradfitz
LGTM On Mon, Aug 26, 2013 at 3:53 AM, <dr.volker.dobler@gmail.com> wrote: > gentle ping... > ...
11 years, 8 months ago (2013-08-26 12:41:09 UTC) #3
bradfitz
11 years, 8 months ago (2013-08-26 12:41:42 UTC) #4
*** Submitted as https://code.google.com/p/go/source/detail?r=0a355d4d5c50 ***

net/http: do not send leading dot in cookie domain attribute

RFC 6265 allows a leading dot in a cookie domain attribute
but is clear (see section 4.1.1) that a Set-Cookie header
should be sent without these dots.

R=bradfitz
CC=golang-dev
https://codereview.appspot.com/13111043

Committer: Brad Fitzpatrick <bradfitz@golang.org>
Sign in to reply to this message.

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