]> git.mxchange.org Git - friendica-addons.git/commitdiff
Issue 14692: Avoid loop situation
authorMichael <heluecht@pirati.ca>
Sat, 25 Jan 2025 02:44:54 +0000 (02:44 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 25 Jan 2025 02:44:54 +0000 (02:44 +0000)
blockbot/blockbot.php

index 163d0cbc6a1be642980f4747cf0fcc410a3fb179..71e35c930c4a2075c2e125dc954c88e8f5cafb58 100644 (file)
@@ -208,7 +208,7 @@ function blockbot_log_activitypub(string $url, string $agent)
                blockbot_save('activitypub-inbox-agents', $agent);
        }
 
-       if (!empty($_SERVER['HTTP_SIGNATURE']) && !empty(HTTPSignature::getSigner('', $_SERVER))) {
+       if (!empty($_SERVER['HTTP_SIGNATURE']) && !empty(HTTPSignature::getSigner('', $_SERVER, false))) {
                blockbot_save('activitypub-signature-agents', $agent);
        }
 }