From 55342d30d456d45ec450bb76b91bd360089177f7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 25 Jun 2023 03:13:38 +0200 Subject: [PATCH] Continued: - ops, forgot to also check everything here, too --- fba/networks/pleroma.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fba/networks/pleroma.py b/fba/networks/pleroma.py index 8d0e6e0..34c1a51 100644 --- a/fba/networks/pleroma.py +++ b/fba/networks/pleroma.py @@ -252,6 +252,9 @@ def fetch_blocks(domain: str, nodeinfo_url: str) -> list: if blocked == "": logger.warning("blocked is empty after tidyup.domain(): domain='%s',block_level='%s'", domain, block_level) continue + elif not utils.is_domain_wanted(blocked): + logger.debug("blocked='%s' is not wanted - SKIPPED!", blocked) + continue logger.debug("Invoking utils.deobfuscate_domain(%s, %s) ...", blocked, domain) blocked = utils.deobfuscate_domain(blocked, domain) -- 2.39.5