Extended bot detection.
This commit is contained in:
parent
cccd606ac7
commit
d901bfe101
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ public class HttpAccessLog
|
|||
{
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue