From 8248c5177167aaf0d9f243c9ea8dc220b2d8e2a3 Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sun, 12 Sep 2021 17:08:02 +0530 Subject: [PATCH] RegexBlockListApp: using lower case domain name for regex matching. --- Apps/RegexBlockListApp/App.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Apps/RegexBlockListApp/App.cs b/Apps/RegexBlockListApp/App.cs index 00760634..98144443 100644 --- a/Apps/RegexBlockListApp/App.cs +++ b/Apps/RegexBlockListApp/App.cs @@ -397,7 +397,7 @@ namespace RegexBlockList return Task.FromResult(null); DnsQuestionRecord question = request.Question[0]; - string domain = question.Name; + string domain = question.Name.ToLower(); foreach (Regex regex in _regexAllowListPatterns) {