diff options
author | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-28 19:52:14 +0000 |
---|---|---|
committer | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-28 19:52:14 +0000 |
commit | 8ccc69f7f730b2ff1d63901bc5b78f2de63ae5f4 (patch) | |
tree | da5a41218049c3b40080ae7f71bb84f6c895cb3b /chrome/browser/custom_handlers | |
parent | 0736d9e6236381ca378e108fd4ba9d794c247a6e (diff) | |
download | chromium_src-8ccc69f7f730b2ff1d63901bc5b78f2de63ae5f4.zip chromium_src-8ccc69f7f730b2ff1d63901bc5b78f2de63ae5f4.tar.gz chromium_src-8ccc69f7f730b2ff1d63901bc5b78f2de63ae5f4.tar.bz2 |
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
Review URL: https://chromiumcodereview.appspot.com/11420013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170029 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/custom_handlers')
-rw-r--r-- | chrome/browser/custom_handlers/protocol_handler_registry.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry.cc b/chrome/browser/custom_handlers/protocol_handler_registry.cc index 5d7cd95..a95fd1c 100644 --- a/chrome/browser/custom_handlers/protocol_handler_registry.cc +++ b/chrome/browser/custom_handlers/protocol_handler_registry.cc @@ -151,7 +151,8 @@ net::URLRequestJob* ProtocolHandlerRegistry::Core::MaybeCreateJob( return NULL; return new net::URLRequestRedirectJob( - request, network_delegate, translated_url); + request, network_delegate, translated_url, + net::URLRequestRedirectJob::REDIRECT_302_FOUND); } // URLInterceptor ------------------------------------------------------------ |