From a556ce8fb872284fe9d20dbe2109458cd50629ff Mon Sep 17 00:00:00 2001 From: Ainar Garipov Date: Mon, 20 Feb 2023 18:01:00 +0300 Subject: [PATCH] Pull request 1742: 5518-doh-panic Updates #5425. Updates #5518. Squashed commit of the following: commit 74873bd47bab569d0a45361f2d87c0e33e0ed3fb Author: Ainar Garipov Date: Mon Feb 20 17:54:44 2023 +0300 dnsforward: use Host when available commit 4eee3d655ec7eb84e0327dcf30603578772609e1 Author: Ainar Garipov Date: Mon Feb 20 17:24:24 2023 +0300 dnsforward: fix panic on unencrypted doh --- CHANGELOG.md | 2 + internal/dnsforward/clientid.go | 17 ++++- internal/dnsforward/clientid_test.go | 92 ++++++++++++++++++++-------- 3 files changed, 82 insertions(+), 29 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b817450..a7c05663 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,8 +25,10 @@ NOTE: Add new changes BELOW THIS COMMENT. ### Fixed +- Panic when using unencrypted DNS-over-HTTPS ([#5518]). - Failing service installation via script on FreeBSD ([#5431]). +[#5518]: https://github.com/AdguardTeam/AdGuardHome/issues/5518 [#5431]: https://github.com/AdguardTeam/AdGuardHome/issues/5431