]> git.mxchange.org Git - friendica-addons.git/commitdiff
And some more added "good" agent
authorMichael Vogel <icarus@dabo.de>
Sat, 27 Apr 2019 13:50:25 +0000 (15:50 +0200)
committerMichael Vogel <icarus@dabo.de>
Sat, 27 Apr 2019 13:50:25 +0000 (15:50 +0200)
blockbot/blockbot.php

index 587bc9d13f82656a7650181a4079b01fbd79fbe0..1792593fd4fea652d8d422bfcd8571c174317a27 100644 (file)
@@ -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/