Commit 2a886d31 authored by agl@chromium.org's avatar agl@chromium.org

net: add (*.)crate.io to HSTS preloaded list.

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126237 0039d316-1c4b-4281-b951-d872f2087c98
parent 547825f8
......@@ -1445,6 +1445,7 @@ static const struct HSTSPreload kPreloadedSTS[] = {
{12, true, "\006crypto\003cat", true, kNoPins, DOMAIN_NOT_PINNED },
{25, true, "\014bigshinylock\006minazo\003net", true, kNoPins,
DOMAIN_NOT_PINNED },
{10, true, "\005crate\002io", true, kNoPins, DOMAIN_NOT_PINNED },
{13, false, "\007twitter\003com", kTwitterHSTS,
kTwitterComPins, DOMAIN_TWITTER_COM },
......
......@@ -820,6 +820,9 @@ TEST_F(TransportSecurityStateTest, Preloaded) {
EXPECT_TRUE(ShouldRedirect("bigshinylock.minazo.net"));
EXPECT_TRUE(ShouldRedirect("foo.bigshinylock.minazo.net"));
EXPECT_TRUE(ShouldRedirect("crate.io"));
EXPECT_TRUE(ShouldRedirect("foo.crate.io"));
#if defined(OS_CHROMEOS)
static const bool kTwitterHSTS = true;
#else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment