diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-03 13:53:47 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-03 13:53:47 +0000 |
commit | 8ad40981a912fe4cf8f43bf80c28a9bc8f0b5fdd (patch) | |
tree | 736b32c7dcfc884e9d33a9a3b102879b3093f778 /net/base | |
parent | 08abb30c3ee935eeb55f37cfd3d88d07dec8651f (diff) | |
download | chromium_src-8ad40981a912fe4cf8f43bf80c28a9bc8f0b5fdd.zip chromium_src-8ad40981a912fe4cf8f43bf80c28a9bc8f0b5fdd.tar.gz chromium_src-8ad40981a912fe4cf8f43bf80c28a9bc8f0b5fdd.tar.bz2 |
net: add codereview sites to HSTS preloaded.
Review URL: https://chromiumcodereview.appspot.com/10830118
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149851 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r-- | net/base/transport_security_state.cc | 2 | ||||
-rw-r--r-- | net/base/transport_security_state_static.h | 2 | ||||
-rw-r--r-- | net/base/transport_security_state_static.json | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/net/base/transport_security_state.cc b/net/base/transport_security_state.cc index 46807ab..747dc7e 100644 --- a/net/base/transport_security_state.cc +++ b/net/base/transport_security_state.cc @@ -581,7 +581,7 @@ struct PublicKeyPins { struct HSTSPreload { uint8 length; bool include_subdomains; - char dns_name[30]; + char dns_name[34]; bool https_required; PublicKeyPins pins; SecondLevelDomainName second_level_domain_name; diff --git a/net/base/transport_security_state_static.h b/net/base/transport_security_state_static.h index b51f8c5..fc4c584 100644 --- a/net/base/transport_security_state_static.h +++ b/net/base/transport_security_state_static.h @@ -323,6 +323,8 @@ static const struct HSTSPreload kPreloadedSTS[] = { {16, true, "\012googleplex\003com", true, kGooglePins, DOMAIN_GOOGLEPLEX_COM }, {19, true, "\006groups\006google\003com", true, kGooglePins, DOMAIN_GOOGLE_COM }, {17, true, "\004apis\006google\003com", true, kGooglePins, DOMAIN_GOOGLE_COM }, + {32, true, "\022chromiumcodereview\007appspot\003com", true, kGooglePins, DOMAIN_APPSPOT_COM }, + {24, true, "\012codereview\007appspot\003com", true, kGooglePins, DOMAIN_APPSPOT_COM }, {23, true, "\005chart\004apis\006google\003com", false, kGooglePins, DOMAIN_GOOGLE_COM }, {11, true, "\005ytimg\003com", false, kGooglePins, DOMAIN_YTIMG_COM }, {23, true, "\021googleusercontent\003com", false, kGooglePins, DOMAIN_GOOGLEUSERCONTENT_COM }, diff --git a/net/base/transport_security_state_static.json b/net/base/transport_security_state_static.json index 2666022..5bb37f4 100644 --- a/net/base/transport_security_state_static.json +++ b/net/base/transport_security_state_static.json @@ -165,6 +165,8 @@ { "name": "googleplex.com", "include_subdomains": true, "mode": "force-https", "pins": "google" }, { "name": "groups.google.com", "include_subdomains": true, "mode": "force-https", "pins": "google" }, { "name": "apis.google.com", "include_subdomains": true, "mode": "force-https", "pins": "google" }, + { "name": "chromiumcodereview.appspot.com", "include_subdomains": true, "mode": "force-https", "pins": "google" }, + { "name": "codereview.appspot.com", "include_subdomains": true, "mode": "force-https", "pins": "google" }, // chart.apis.google.com is *not* HSTS because the certificate doesn't match // and there are lots of links out there that still use the name. The correct |