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

Issue 11420013: POSTs to HSTS domains are no longer converted to GETs (Closed)

Created:
8 years, 1 month ago by mmenke
Modified:
8 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

POSTs to HSTS domains are no longer converted to GETs on upgrade to https. URLRequestRedirectJobs now take a status code on construction, to reduce the change of regressions, and the status code can no longer be changed after construction. TBR=jhawkins@chromium.org BUG=159343 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170029

Patch Set 1 #

Patch Set 2 : sync #

Patch Set 3 : Fix stuff #

Total comments: 4

Patch Set 4 : Make fields const, sync #

Patch Set 5 : sync only #

Patch Set 6 : Fix breakage #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -25 lines) Patch
M chrome/browser/chromeos/gview_request_interceptor.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/custom_handlers/protocol_handler_registry.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/net/double_get_experiment_interceptor.cc View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M chrome_frame/test/net/fake_external_tab.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M net/url_request/url_request.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M net/url_request/url_request_http_job.cc View 1 2 3 4 1 chunk +6 lines, -2 lines 0 comments Download
M net/url_request/url_request_redirect_job.h View 1 2 3 4 3 chunks +7 lines, -10 lines 0 comments Download
M net/url_request/url_request_redirect_job.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 3 4 3 chunks +55 lines, -3 lines 2 comments Download

Messages

Total messages: 16 (0 generated)
mmenke
Out of paranoia, seemed best to make the status code a constructor parameter. We could ...
8 years, 1 month ago (2012-11-16 19:10:28 UTC) #1
willchan no longer on Chromium
Please update this changelist description to describe the refactoring changes too. LGTM https://codereview.chromium.org/11420013/diff/14021/chrome/browser/custom_handlers/protocol_handler_registry.cc File chrome/browser/custom_handlers/protocol_handler_registry.cc ...
8 years, 1 month ago (2012-11-17 21:43:08 UTC) #2
mmenke
Description updated as well. https://codereview.chromium.org/11420013/diff/14021/chrome/browser/custom_handlers/protocol_handler_registry.cc File chrome/browser/custom_handlers/protocol_handler_registry.cc (right): https://codereview.chromium.org/11420013/diff/14021/chrome/browser/custom_handlers/protocol_handler_registry.cc#newcode155 chrome/browser/custom_handlers/protocol_handler_registry.cc:155: net::URLRequestRedirectJob::REDIRECT_302_FOUND); On 2012/11/17 21:43:08, willchan ...
8 years, 1 month ago (2012-11-19 16:00:34 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/11420013/10016
8 years, 1 month ago (2012-11-19 16:00:50 UTC) #4
commit-bot: I haz the power
Presubmit check for 11420013-10016 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 1 month ago (2012-11-19 16:00:58 UTC) #5
mmenke
davemoore: chrome/browser/chromeos/ erikwright: chrome_frame/
8 years, 1 month ago (2012-11-19 16:13:44 UTC) #6
mmenke
And TBRing jhawkins for the refactoring change to chrome/browser/custom_handlers/protocol_handler_registry.cc
8 years, 1 month ago (2012-11-19 16:14:23 UTC) #7
mmenke
Oh, and davemoore - HSTS isn't supported on Chrome Frame, which is why this and ...
8 years, 1 month ago (2012-11-19 16:21:03 UTC) #8
erikwright (departed)
chrome_frame LGTM.
8 years, 1 month ago (2012-11-19 16:52:26 UTC) #9
mmenke
On 2012/11/19 16:21:03, Matt Menke wrote: > Oh, and davemoore - HSTS isn't supported on ...
8 years, 1 month ago (2012-11-19 16:53:19 UTC) #10
mmenke
davemoore: Ping.
8 years ago (2012-11-27 16:36:27 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/11420013/10016
8 years ago (2012-11-28 17:03:41 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/11420013/11029
8 years ago (2012-11-28 17:45:35 UTC) #13
szym
https://codereview.chromium.org/11420013/diff/11029/net/url_request/url_request_unittest.cc File net/url_request/url_request_unittest.cc (right): https://codereview.chromium.org/11420013/diff/11029/net/url_request/url_request_unittest.cc#newcode4197 net/url_request/url_request_unittest.cc:4197: host_resolver.rules()->AddRule("www.somewhere.com", "127.0.0.1"); Drive-by: MockHostResolver redirects everything to 127.0.0.1 by ...
8 years ago (2012-11-28 18:04:16 UTC) #14
mmenke
https://codereview.chromium.org/11420013/diff/11029/net/url_request/url_request_unittest.cc File net/url_request/url_request_unittest.cc (right): https://codereview.chromium.org/11420013/diff/11029/net/url_request/url_request_unittest.cc#newcode4197 net/url_request/url_request_unittest.cc:4197: host_resolver.rules()->AddRule("www.somewhere.com", "127.0.0.1"); On 2012/11/28 18:04:16, szym wrote: > Drive-by: ...
8 years ago (2012-11-28 18:34:45 UTC) #15
commit-bot: I haz the power
8 years ago (2012-11-28 19:52:16 UTC) #16
Message was sent while issue was closed.
Change committed as 170029

Powered by Google App Engine
This is Rietveld 408576698