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
commit
c5e3d1f047
|
@ -208,7 +208,7 @@ function blockbot_log_activitypub(string $url, string $agent)
|
||||||
blockbot_save('activitypub-inbox-agents', $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);
|
blockbot_save('activitypub-signature-agents', $agent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue