From 95307a3d787cdf852dd8af278675c82f325ffeed Mon Sep 17 00:00:00 2001 From: astaxie Date: Thu, 19 Sep 2013 23:14:47 +0800 Subject: [PATCH] miss filter * --- filter.go | 3 +++ 1 file changed, 3 insertions(+) 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 }