BlockListZoneManager: Updated ReadListFile() to support wildcard block lists.

This commit is contained in:
Shreyas Zare
2022-12-24 12:13:25 +05:30
parent bad83253f5
commit a247b1562a

View File

@@ -131,7 +131,7 @@ namespace DnsServerCore.Dns.ZoneManagers
if (line == null)
break; //eof
line = line.TrimStart(' ', '\t');
line = line.TrimStart(' ', '\t', '*', '.');
if (line.Length == 0)
continue; //skip empty line