Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(379)

Issue 3453021: Immediately reject empty cookie headers. (Closed)

Created:
10 years, 3 months ago by jochen (gone - plz use gerrit)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Base URL:
git://codf21.jail/chromium.git
Visibility:
Public.

Description

Immediately reject empty cookie headers. BUG=54785 TEST=DoNotSaveEmptyCookies Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60621

Patch Set 1 #

Patch Set 2 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -6 lines) Patch
M net/http/http_response_headers.h View 2 chunks +6 lines, -4 lines 0 comments Download
M net/url_request/url_request_http_job.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jochen (gone - plz use gerrit)
please review
10 years, 3 months ago (2010-09-24 11:56:34 UTC) #1
Randy Smith (Not in Mondays)
On 2010/09/24 11:56:34, jochen wrote: > please review This change LGTM; it's probably the right ...
10 years, 3 months ago (2010-09-24 12:54:56 UTC) #2
jochen (gone - plz use gerrit)
On 2010/09/24 12:54:56, rdsmith wrote: > On 2010/09/24 11:56:34, jochen wrote: > > please review ...
10 years, 3 months ago (2010-09-24 13:00:14 UTC) #3
darin (slow to review)
LGTM There are legit use cases for headers that have no value. The presence of ...
10 years, 3 months ago (2010-09-24 15:35:28 UTC) #4
darin (slow to review)
10 years, 3 months ago (2010-09-24 15:36:40 UTC) #5
On 2010/09/24 15:35:28, darin wrote:
> LGTM
> 
> There are legit use cases for headers that have no value.  The presence of a
> header name may be significant for some applications.  Therefore, it is
correct
> for EnumerateHeader to return empty values.

Can you include a comment on EnumerateHeader that indicates that value may be
empty?

Powered by Google App Engine
This is Rietveld 408576698