Extended bot detection.

This commit is contained in:
Christian P. MOMON 2021-06-04 17:38:59 +02:00
parent cccd606ac7
commit d901bfe101

View file

@ -189,7 +189,7 @@ public class HttpAccessLog
{ {
result = true; result = true;
} }
else if (StringUtils.startsWithAny(this.userAgent.toString(), "Java/", "HotJava/")) else if (StringUtils.startsWithAny(this.userAgent.toString(), "git/", "github-camo", "http.rb/", "Go-http-client", "GoModuleMirror/", "HotJava/", "Java/", "JGit/"))
{ {
result = true; result = true;
} }