diff --git a/router.go b/router.go index 2d5ed78d..8afb9ee2 100644 --- a/router.go +++ b/router.go @@ -612,6 +612,9 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request) if l, ok := p.filters[pos]; ok { for _, filterR := range l { if ok, p := filterR.ValidRouter(urlPath); ok { + for k, v := range context.Input.Params { + p[k] = v + } context.Input.Params = p filterR.filterFunc(context) if filterR.returnOnOutput && w.started {