diff --git a/filter.go b/filter.go index 1f53d129..16329709 100644 --- a/filter.go +++ b/filter.go @@ -15,6 +15,9 @@ func (mr *FilterRouter) ValidRouter(router string) bool { if mr.pattern == "" { return true } + if mr.pattern == "*" { + return true + } if router == mr.pattern { return true }