From 713b1ce781f973073c7f532e8f0de657f7deb806 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 12 Sep 2023 03:40:31 +0200 Subject: [PATCH] Continued: - please execute SQL command: "UPDATE instances SET command = 'redirect_target' WHERE command = 'fetch_generator';" - yes, it is done during detection mode 'generator' but it was discovered as redirection target --- fba/http/federation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fba/http/federation.py b/fba/http/federation.py index eeed806..5fb9608 100644 --- a/fba/http/federation.py +++ b/fba/http/federation.py @@ -322,7 +322,7 @@ def fetch_generator_from_path(domain: str, path: str = "/") -> str: logger.debug("domain2='%s'", domain2) if not instances.is_registered(domain2): logger.info("components.netloc='%s' is not registered, adding ...", components.netloc) - fetch_instances(domain2, domain, None, "fetch_generator") + fetch_instances(domain2, domain, None, "redirect_target") message = f"Redirect from domain='{domain}' to response.url='{response.url}'" instances.set_last_error(domain, message) -- 2.39.5