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

Issue 1880283002: Disallow redirects in SDCH dictionary fetches. (Closed)

Created:
4 years, 8 months ago by Randy Smith (Not in Mondays)
Modified:
4 years, 7 months ago
Reviewers:
eroman, Mike West, mdw87xj, Ryan Sleevi
CC:
cbentzel+watch_chromium.org, chromium-reviews, helen li
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disallowredirects in SDCH dictionary fetches. BUG=601234 R=eroman@chromium.org Committed: https://crrev.com/a6980cd62b2118af7062163494c8a8bf5076ec20 Cr-Commit-Position: refs/heads/master@{#388264}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Shifted to disallowing redirects. #

Patch Set 3 : Merge to p388233. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -39 lines) Patch
M net/url_request/sdch_dictionary_fetcher.h View 1 2 3 chunks +7 lines, -2 lines 0 comments Download
M net/url_request/sdch_dictionary_fetcher.cc View 1 5 chunks +29 lines, -5 lines 0 comments Download
M net/url_request/sdch_dictionary_fetcher_unittest.cc View 1 2 8 chunks +110 lines, -26 lines 0 comments Download
M net/url_request/url_request.h View 1 2 1 chunk +7 lines, -6 lines 0 comments Download

Messages

Total messages: 31 (10 generated)
Randy Smith (Not in Mondays)
Eric: Willing to take a look at this? I figure you've been glancing at SDCH, ...
4 years, 8 months ago (2016-04-12 21:02:58 UTC) #1
eroman
hah, no good deed goes unpunished i guess :)
4 years, 8 months ago (2016-04-12 21:07:46 UTC) #2
Randy Smith (Not in Mondays)
On 2016/04/12 21:07:46, eroman wrote: > hah, no good deed goes unpunished i guess :) ...
4 years, 8 months ago (2016-04-12 21:09:42 UTC) #3
eroman
https://codereview.chromium.org/1880283002/diff/1/net/url_request/sdch_dictionary_fetcher.cc File net/url_request/sdch_dictionary_fetcher.cc (right): https://codereview.chromium.org/1880283002/diff/1/net/url_request/sdch_dictionary_fetcher.cc#newcode302 net/url_request/sdch_dictionary_fetcher.cc:302: if (redirect_url_.GetOrigin() != current_request_->url().GetOrigin()) { +rsleevi for security perspective, ...
4 years, 8 months ago (2016-04-13 00:12:38 UTC) #5
Ryan Sleevi
CC'ing Mike as master of CORS. Note: Public code review, private bug. https://codereview.chromium.org/1880283002/diff/1/net/url_request/sdch_dictionary_fetcher.cc File net/url_request/sdch_dictionary_fetcher.cc ...
4 years, 8 months ago (2016-04-13 00:30:44 UTC) #7
Mike West
https://codereview.chromium.org/1880283002/diff/1/net/url_request/sdch_dictionary_fetcher.cc File net/url_request/sdch_dictionary_fetcher.cc (right): https://codereview.chromium.org/1880283002/diff/1/net/url_request/sdch_dictionary_fetcher.cc#newcode302 net/url_request/sdch_dictionary_fetcher.cc:302: if (redirect_url_.GetOrigin() != current_request_->url().GetOrigin()) { 1. I agree with ...
4 years, 8 months ago (2016-04-13 10:54:07 UTC) #8
Randy Smith (Not in Mondays)
On 2016/04/13 10:54:07, Mike West wrote: > https://codereview.chromium.org/1880283002/diff/1/net/url_request/sdch_dictionary_fetcher.cc > File net/url_request/sdch_dictionary_fetcher.cc (right): > > https://codereview.chromium.org/1880283002/diff/1/net/url_request/sdch_dictionary_fetcher.cc#newcode302 ...
4 years, 8 months ago (2016-04-13 15:22:34 UTC) #10
Mike West
On 2016/04/13 at 15:22:34, rdsmith wrote: > > 2. Is there actually value in thinking ...
4 years, 8 months ago (2016-04-13 15:31:11 UTC) #11
Mike West
https://codereview.chromium.org/1880283002/diff/1/net/url_request/sdch_dictionary_fetcher.cc File net/url_request/sdch_dictionary_fetcher.cc (right): https://codereview.chromium.org/1880283002/diff/1/net/url_request/sdch_dictionary_fetcher.cc#newcode301 net/url_request/sdch_dictionary_fetcher.cc:301: // be necessary when/if SDCH is restricted to HTTPS. ...
4 years, 8 months ago (2016-04-13 15:49:31 UTC) #12
Randy Smith (Not in Mondays)
On 2016/04/13 15:49:31, Mike West wrote: > https://codereview.chromium.org/1880283002/diff/1/net/url_request/sdch_dictionary_fetcher.cc > File net/url_request/sdch_dictionary_fetcher.cc (right): > > https://codereview.chromium.org/1880283002/diff/1/net/url_request/sdch_dictionary_fetcher.cc#newcode301 ...
4 years, 8 months ago (2016-04-13 16:11:50 UTC) #13
Randy Smith (Not in Mondays)
New patchset up that just blocks redirects. I believe I've responded to all comments (and ...
4 years, 8 months ago (2016-04-13 18:18:47 UTC) #15
Mike West
LGTM, even though my LGTM is useless because I don't own any of this code!
4 years, 8 months ago (2016-04-13 18:21:35 UTC) #16
Randy Smith (Not in Mondays)
On 2016/04/13 18:21:35, Mike West wrote: > LGTM, even though my LGTM is useless because ...
4 years, 8 months ago (2016-04-13 18:27:39 UTC) #17
Ryan Sleevi
LGTM For whomever comes along and does source archaelogy on this, I think that before ...
4 years, 8 months ago (2016-04-13 18:33:04 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1880283002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1880283002/20001
4 years, 8 months ago (2016-04-19 14:13:09 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/21350) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 8 months ago (2016-04-19 14:14:52 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1880283002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1880283002/40001
4 years, 8 months ago (2016-04-19 17:56:45 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-19 19:04:40 UTC) #27
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/a6980cd62b2118af7062163494c8a8bf5076ec20 Cr-Commit-Position: refs/heads/master@{#388264}
4 years, 8 months ago (2016-04-22 19:14:37 UTC) #29
mdw87xj_gmail.com
On Tuesday, April 12, 2016 at 3:02:59 PM UTC-6, rds...@chromium.org wrote: > > Reviewers: eroman ...
4 years, 7 months ago (2016-04-24 21:11:27 UTC) #30
mdw87xj_gmail.com
4 years, 7 months ago (2016-04-24 21:11:38 UTC) #31
Message was sent while issue was closed.

On Tuesday, April 12, 2016 at 3:02:59 PM UTC-6, rds...@chromium.org wrote:
>
> Reviewers: eroman
> CL: https://codereview.chromium.org/1880283002/
>
> Message:
> Eric: Willing to take a look at this? I figure you've been glancing at 
> SDCH,
> and Matt deserves a break :-}.
>
> Description:
> Disallow cross-origin redirects in SDCH dictionary fetches.
>
> BUG=601234
> R=er...@chromium.org <javascript:>
>
> Base URL: https://chromium.googlesource.com/chromium/src.git@master
>
> Affected files (+199, -39 lines):
> M net/url_request/sdch_dictionary_fetcher.h
> M net/url_request/sdch_dictionary_fetcher.cc
> M net/url_request/sdch_dictionary_fetcher_unittest.cc
> M net/url_request/url_request.h
>
>
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698