mirror of
https://github.com/astaxie/beego.git
synced 2025-07-20 21:55:31 +00:00
miss filter *
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user