From 3bae984d08ba248632e92b7622d8a8fac4e9aeb9 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Fri, 8 Jan 2021 20:59:19 +0900 Subject: [PATCH] Add ApacheBench to list of bots --- common/framework/ua.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/framework/ua.php b/common/framework/ua.php index 45ffae7ec..421de803d 100644 --- a/common/framework/ua.php +++ b/common/framework/ua.php @@ -158,7 +158,7 @@ class UA } // Look for common search engine names and the 'bot' keyword. - if (preg_match('/bot|spider|crawler|archiver|wget|curl|php|slurp|wordpress|facebook|teoma|yeti|daum|mediapartners-google|[(<+]https?:|@/i', $ua)) + if (preg_match('/bot|spider|crawler|archiver|wget|curl|php|slurp|wordpress|facebook|teoma|yeti|daum|apachebench|mediapartners-google|[(<+]https?:|@/i', $ua)) { return self::$_robot_cache[$ua] = true; }