Blockbot: Avoid false positives #849

Merged
annando merged 35 commits from false-positive into 2019.06-rc 2019-06-24 05:28:29 +02:00
Showing only changes of commit 501e586968 - Show all commits

View file

@ -64,7 +64,7 @@ function blockbot_init_1(App $a) {
'curl', 'zgrab', 'Go-http-client', 'curb', 'github.com', 'reqwest', 'Feedly/',
'Python-urllib/', 'Liferea/', 'aiohttp/', 'WordPress.com Reader', 'hackney/',
'Faraday v', 'okhttp', 'UniversalFeedParser', 'PixelFedBot', 'python-requests',
'WordPress/', 'http.rb/', 'Apache-HttpClient/', 'WordPress.com;'];
'WordPress/', 'http.rb/', 'Apache-HttpClient/', 'WordPress.com;', 'Pleroma'];
foreach ($agents as $agent) {
if (stristr($_SERVER['HTTP_USER_AGENT'], $agent)) {