diff --git a/src/Meziantou.Framework.Http.Hsts/HstsDomainPolicyCollection.g.cs b/src/Meziantou.Framework.Http.Hsts/HstsDomainPolicyCollection.g.cs index 2e630c44..aab5af02 100644 --- a/src/Meziantou.Framework.Http.Hsts/HstsDomainPolicyCollection.g.cs +++ b/src/Meziantou.Framework.Http.Hsts/HstsDomainPolicyCollection.g.cs @@ -10,21 +10,21 @@ partial class HstsDomainPolicyCollection { private void LoadPreloadDomains() { - // HSTS preload data source: https://raw.githubusercontent.com/chromium/chromium/ba720cd91299fe45b6345be1971ee628af9bc3f5/net/http/transport_security_state_static.json - // Commit date: 2024-12-18T23:38:47.0000000+00:00 + // HSTS preload data source: https://raw.githubusercontent.com/chromium/chromium/829b336e8eabc27129d1132ad4120eeb4d41b580/net/http/transport_security_state_static.json + // Commit date: 2025-02-03T18:14:52.0000000+00:00 CollectionsMarshal.SetCount(_policies, 5); var dict1 = new ConcurrentDictionary(concurrencyLevel: -1, capacity: 61, comparer: StringComparer.OrdinalIgnoreCase); _policies[0] = dict1; Load(dict1, 51, "preload_1.bin"); - var dict2 = new ConcurrentDictionary(concurrencyLevel: -1, capacity: 149553, comparer: StringComparer.OrdinalIgnoreCase); + var dict2 = new ConcurrentDictionary(concurrencyLevel: -1, capacity: 153110, comparer: StringComparer.OrdinalIgnoreCase); _policies[1] = dict2; - Load(dict2, 149543, "preload_2.bin"); + Load(dict2, 153100, "preload_2.bin"); - var dict3 = new ConcurrentDictionary(concurrencyLevel: -1, capacity: 11247, comparer: StringComparer.OrdinalIgnoreCase); + var dict3 = new ConcurrentDictionary(concurrencyLevel: -1, capacity: 11729, comparer: StringComparer.OrdinalIgnoreCase); _policies[2] = dict3; - Load(dict3, 11237, "preload_3.bin"); + Load(dict3, 11719, "preload_3.bin"); var dict4 = new ConcurrentDictionary(concurrencyLevel: -1, capacity: 197, comparer: StringComparer.OrdinalIgnoreCase); _policies[3] = dict4; diff --git a/src/Meziantou.Framework.Http.Hsts/Meziantou.Framework.Http.Hsts.csproj b/src/Meziantou.Framework.Http.Hsts/Meziantou.Framework.Http.Hsts.csproj index 8edd90b9..9680b593 100644 --- a/src/Meziantou.Framework.Http.Hsts/Meziantou.Framework.Http.Hsts.csproj +++ b/src/Meziantou.Framework.Http.Hsts/Meziantou.Framework.Http.Hsts.csproj @@ -3,7 +3,7 @@ $(LatestTargetFrameworks) Meziantou.Framework.Http - 1.0.0 + 1.0.1 true Provide an HttpClientHandler to upgrade request from http to https if an HSTS policy is set for the domain $(DefineConstants);HSTS_PRELOAD_FULL diff --git a/src/Meziantou.Framework.Http.Hsts/preload_1.bin b/src/Meziantou.Framework.Http.Hsts/preload_1.bin index 1125412c..ca7384df 100644 Binary files a/src/Meziantou.Framework.Http.Hsts/preload_1.bin and b/src/Meziantou.Framework.Http.Hsts/preload_1.bin differ diff --git a/src/Meziantou.Framework.Http.Hsts/preload_2.bin b/src/Meziantou.Framework.Http.Hsts/preload_2.bin index 54f3d7dd..f3d5bbb1 100644 Binary files a/src/Meziantou.Framework.Http.Hsts/preload_2.bin and b/src/Meziantou.Framework.Http.Hsts/preload_2.bin differ diff --git a/src/Meziantou.Framework.Http.Hsts/preload_3.bin b/src/Meziantou.Framework.Http.Hsts/preload_3.bin index 6b574e7c..17d5500e 100644 Binary files a/src/Meziantou.Framework.Http.Hsts/preload_3.bin and b/src/Meziantou.Framework.Http.Hsts/preload_3.bin differ diff --git a/src/Meziantou.Framework.Http.Hsts/preload_4.bin b/src/Meziantou.Framework.Http.Hsts/preload_4.bin index a974e823..0e4fd81f 100644 Binary files a/src/Meziantou.Framework.Http.Hsts/preload_4.bin and b/src/Meziantou.Framework.Http.Hsts/preload_4.bin differ