From d86076449810c618aec7dcab33fa22ede95c1cb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9drik?= Date: Sat, 27 Jul 2024 15:56:33 +0000 Subject: [PATCH 1/4] fix: enforce Bing safe search from Edge sidebar Edge sidebar uses a different search endpoint, as per https://support.microsoft.com/en-us/topic/blocking-adult-content-with-safesearch-or-blocking-chat-946059ed-992b-46a0-944a-28e8fb8f1814; --- internal/filtering/safesearch/rules/bing.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/filtering/safesearch/rules/bing.txt b/internal/filtering/safesearch/rules/bing.txt index 4e1a7bc8a36..14aac91b0c9 100644 --- a/internal/filtering/safesearch/rules/bing.txt +++ b/internal/filtering/safesearch/rules/bing.txt @@ -1 +1,2 @@ |www.bing.com^$dnsrewrite=NOERROR;CNAME;strict.bing.com +|edgeservices.bing.com^$dnsrewrite=NOERROR;CNAME;strict.bing.com From af0f43c0f8cd97e84f732b96bf297eadcbdda163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9drik?= Date: Sat, 27 Jul 2024 16:19:10 +0000 Subject: [PATCH 2/4] chore: update Google DNS list Add 3 new domains that appear in https://www.google.com/supported_domains but not in this list. For the technically minded, generate your own list with: curl -fsSL https://www.google.com/supported_domains | sort | sed -E 's%^(.*)$%|www\1^$dnsrewrite=NOERROR;CNAME;forcesafesearch.google.com%' :-) --- internal/filtering/safesearch/rules/google.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/filtering/safesearch/rules/google.txt b/internal/filtering/safesearch/rules/google.txt index 60df661768e..a015f73b277 100644 --- a/internal/filtering/safesearch/rules/google.txt +++ b/internal/filtering/safesearch/rules/google.txt @@ -46,6 +46,9 @@ |www.google.co.uz^$dnsrewrite=NOERROR;CNAME;forcesafesearch.google.com |www.google.co.ve^$dnsrewrite=NOERROR;CNAME;forcesafesearch.google.com |www.google.co.vi^$dnsrewrite=NOERROR;CNAME;forcesafesearch.google.com +|www.google.co.za^$dnsrewrite=NOERROR;CNAME;forcesafesearch.google.com +|www.google.co.zm^$dnsrewrite=NOERROR;CNAME;forcesafesearch.google.com +|www.google.co.zw^$dnsrewrite=NOERROR;CNAME;forcesafesearch.google.com |www.google.com.af^$dnsrewrite=NOERROR;CNAME;forcesafesearch.google.com |www.google.com.ag^$dnsrewrite=NOERROR;CNAME;forcesafesearch.google.com |www.google.com.ai^$dnsrewrite=NOERROR;CNAME;forcesafesearch.google.com From 2af8595363866f6fd3b55f6de29fd235f1078864 Mon Sep 17 00:00:00 2001 From: Dimitry Kolyshev Date: Tue, 30 Jul 2024 13:15:03 +0300 Subject: [PATCH 3/4] docs: changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f40fb4f946d..67776563d27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,9 +29,11 @@ NOTE: Add new changes BELOW THIS COMMENT. ### Fixed +- Enforce Bing safe search from Edge sidebar ([#7154]). - Text overflow on the query log page ([#7119]). [#7119]: https://github.com/AdguardTeam/AdGuardHome/issues/7119 +[#7154]: https://github.com/AdguardTeam/AdGuardHome/pull/7154