Merge pull request #1923 from pi-hole/fix/antigravity_mark

Fix antigravity not preventing further checks on queries
This commit is contained in:
Dominik
2024-03-29 21:09:39 +01:00
committed by GitHub
+5
View File
@@ -1154,6 +1154,11 @@ static bool check_domain_blocked(const char *domain, const int clientID,
// ...
dns_cache->list_id = -1 * (list_id + 2);
// Mark query as allowed to prevent further checks such as CNAME
// inspection. This ensures antigravity matches have similar effects
// than explicitly allowed domains.
query->flags.allowed = true;
return false;
}