From 745b2ae99802712be5c13b658e71fd528e8b9d13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=A1=A0=E1=A0=B5=E1=A1=A0=E1=A1=B3=20=E1=A1=A0=E1=A0=B5?= =?UTF-8?q?=E1=A1=A0=20=E1=A0=AE=E1=A0=A0=E1=A0=A8=E1=A1=A9=E1=A0=8B?= =?UTF-8?q?=E1=A0=A0=E1=A0=A8?= <125150101+UjuiUjuMandan@users.noreply.github.com> Date: Thu, 12 Sep 2024 04:05:48 +0000 Subject: [PATCH 1/2] Update OWSCountryMetadata for China --- SignalServiceKit/Network/OWSCountryMetadata.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SignalServiceKit/Network/OWSCountryMetadata.swift b/SignalServiceKit/Network/OWSCountryMetadata.swift index 826e58aa27..da20b1999a 100644 --- a/SignalServiceKit/Network/OWSCountryMetadata.swift +++ b/SignalServiceKit/Network/OWSCountryMetadata.swift @@ -73,7 +73,7 @@ public struct OWSCountryMetadata { OWSCountryMetadata(name: "Cook Islands", frontingDomain: nil, countryCode: "CK"), OWSCountryMetadata(name: "Chile", frontingDomain: nil, countryCode: "CL"), OWSCountryMetadata(name: "Cameroon", frontingDomain: nil, countryCode: "CM"), - OWSCountryMetadata(name: "China", frontingDomain: nil, countryCode: "CN"), + OWSCountryMetadata(name: "China", frontingDomain: .fastly, countryCode: "CN"), OWSCountryMetadata(name: "Colombia", frontingDomain: nil, countryCode: "CO"), OWSCountryMetadata(name: "Costa Rica", frontingDomain: nil, countryCode: "CR"), OWSCountryMetadata(name: "Cuba", frontingDomain: .fastly, countryCode: "CU"), From 6ae92104fc7a74322628ce419da782f530f6d063 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=A1=A0=E1=A0=B5=E1=A1=A0=E1=A1=B3=20=E1=A1=A0=E1=A0=B5?= =?UTF-8?q?=E1=A1=A0=20=E1=A0=AE=E1=A0=A0=E1=A0=A8=E1=A1=A9=E1=A0=8B?= =?UTF-8?q?=E1=A0=A0=E1=A0=A8?= <125150101+UjuiUjuMandan@users.noreply.github.com> Date: Thu, 12 Sep 2024 04:48:22 +0000 Subject: [PATCH 2/2] Update fastlySniHeaders --- SignalServiceKit/Network/OWSCensorshipConfiguration.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SignalServiceKit/Network/OWSCensorshipConfiguration.swift b/SignalServiceKit/Network/OWSCensorshipConfiguration.swift index 0621ec636f..98953b8032 100644 --- a/SignalServiceKit/Network/OWSCensorshipConfiguration.swift +++ b/SignalServiceKit/Network/OWSCensorshipConfiguration.swift @@ -66,7 +66,7 @@ enum OWSFrontingHost { } } - private static let fastlySniHeaders = ["github.githubassets.com", "pinterest.com", "www.redditstatic.com"] + private static let fastlySniHeaders = ["fastly.jsdelivr.net", "github.githubassets.com", "www.python.org", "www.gov.uk"] private static let googleCommonSniHeaders = [ "www.google.com", "android.clients.google.com",