Prevent DNS leak when icon regex is configured

When a icon blacklist regex was configured to not check for a domain, it
still did a DNS lookup first. This could cause a DNS leakage for these
regex blocked domains.

This PR resolves this issue by first checking the regex, and afterwards
the other checks.

Fixes #2909
This commit is contained in:
BlackDex committed 2022-11-14 17:25:44 +01:00
1 parent 7a7673103f
commit 0d2399d485
2 files changed
+14 -11

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 331 B

After

Width:  |  Height:  |  Size: 483 B