Issue 14692: Avoid loop situation

pull/1595/head
Michael 2025-01-25 02:44:54 +00:00
parent cdba300c7b
commit cbfcfb3349
1 changed files with 1 additions and 1 deletions

View 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);
}
}