From: Michael Vogel Date: Sat, 27 Apr 2019 13:50:25 +0000 (+0200) Subject: And some more added "good" agent X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=77acddba49c6e53f0d398ba780e3dce9c58ef575;p=friendica-addons.git And some more added "good" agent --- diff --git a/blockbot/blockbot.php b/blockbot/blockbot.php index 587bc9d1..1792593f 100644 --- a/blockbot/blockbot.php +++ b/blockbot/blockbot.php @@ -36,7 +36,7 @@ function blockbot_init_1(App $a) { // List of strings of reported false positives $agents = ['Mastodon', 'hackney', 'Faraday', 'okhttp', 'UniversalFeedParser', 'PixelFedBot', 'python-requests', - 'WordPress']; + 'WordPress', 'http.rb']; foreach ($agents as $agent) { if (stristr($_SERVER['HTTP_USER_AGENT'], $agent)) { // The agents had been reported to https://github.com/JayBizzle/Crawler-Detect/issues/