Update to the current ASF bot pattern
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 14 Mar 2011 00:28:29 +0000 (00:28 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 14 Mar 2011 00:28:29 +0000 (00:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1081239 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/valves/CrawlerSessionManagerValve.java

index 053a300..80db864 100644 (file)
@@ -49,7 +49,7 @@ public class CrawlerSessionManagerValve extends ValveBase {
         new ConcurrentHashMap<String, SessionInfo>();
 
     private String crawlerUserAgents =
-        ".*GoogleBot.*|.*bingbot.*|.*Yahoo! Slurp.*";
+        ".*[bB]ot.*|.*Yahoo! Slurp.*|.*Feedfetcher-Google.*";
     private Pattern uaPattern = null;
     private int sessionInactiveInterval = 60;