summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-29 22:20:19 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-29 22:20:19 +0000
commit94fb7aec260bbb23ec2c63561289c933c8ea7eb2 (patch)
treed3d0ebdc39e3ca2997f13d5d907b4f26ca57e28f /net
parent289838c2af90d730be340a2706627dba2d0f550c (diff)
downloadchromium_src-94fb7aec260bbb23ec2c63561289c933c8ea7eb2.zip
chromium_src-94fb7aec260bbb23ec2c63561289c933c8ea7eb2.tar.gz
chromium_src-94fb7aec260bbb23ec2c63561289c933c8ea7eb2.tar.bz2
net: add (*.)luneta.nearbuysystems.com to HSTS preloaded.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103371 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/base/transport_security_state.cc1
-rw-r--r--net/base/transport_security_state_unittest.cc7
2 files changed, 8 insertions, 0 deletions
diff --git a/net/base/transport_security_state.cc b/net/base/transport_security_state.cc
index a0e187b..ced7383 100644
--- a/net/base/transport_security_state.cc
+++ b/net/base/transport_security_state.cc
@@ -1000,6 +1000,7 @@ bool TransportSecurityState::IsPreloadedSTS(
{17, true, "\003api\007recurly\003com", true, 0 },
{13, false, "\007greplin\003com", true, 0 },
{17, false, "\003www\007greplin\003com", true, 0 },
+ {27, true, "\006luneta\016nearbuysystems\003com", true, 0 },
#if defined(OS_CHROMEOS)
{13, false, "\007twitter\003com", true, 0 },
{17, false, "\003www\007twitter\003com", true, 0 },
diff --git a/net/base/transport_security_state_unittest.cc b/net/base/transport_security_state_unittest.cc
index 3169025..fd87e38 100644
--- a/net/base/transport_security_state_unittest.cc
+++ b/net/base/transport_security_state_unittest.cc
@@ -706,6 +706,13 @@ TEST_F(TransportSecurityStateTest, Preloaded) {
EXPECT_FALSE(state.IsEnabledForHost(&domain_state,
"foo.greplin.com",
false));
+
+ EXPECT_TRUE(state.IsEnabledForHost(&domain_state,
+ "luneta.nearbuysystems.com",
+ false));
+ EXPECT_TRUE(state.IsEnabledForHost(&domain_state,
+ "foo.luneta.nearbuysystems.com",
+ false));
}
TEST_F(TransportSecurityStateTest, LongNames) {