diff --git a/matcher.go b/matcher.go index 96a58f90..793147d1 100644 --- a/matcher.go +++ b/matcher.go @@ -133,3 +133,9 @@ func implausibleBrowser(r *http.Request, userAgent string) bool { return false } +func appendReason(current, next string) string { + if current == "" { + return next + } + return current + "; " + next +}