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 ccebe7ebf7 - Show all commits

View file

@ -63,7 +63,7 @@ function blockbot_init_1(App $a) {
'Diffbot/', 'Twitterbot/', 'YisouSpider/', 'evc-batch/', 'LivelapBot/', 'TrendsmapResolver/',
'PaperLiBot/', 'Nuzzel', 'um-LN/', 'Google Favicon', 'Datanyze', 'BLEXBot/', '360Spider',
'adscanner/', 'HeadlessChrome', 'wpif', 'startmebot/', 'Googlebot/', 'Applebot/',
'facebookexternalhit/'];
'facebookexternalhit/', 'GoogleImageProxy', 'bingbot/', 'heritrix/', 'ldspider'];
foreach ($agents as $agent) {
if (stristr($_SERVER['HTTP_USER_AGENT'], $agent)) {