Merge pull request 'Issue 14692: Avoid loop situation' (#1595) from heluecht/friendica-addons:issue-14692 into develop

Reviewed-on: https://git.friendi.ca/friendica/friendica-addons/pulls/1595
Reviewed-by: Hypolite Petovan <hypolite@mrpetovan.com>
pull/1596/head
Hypolite Petovan 2025-01-25 13:59:52 +01:00
commit c5e3d1f047
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);
}
}