mirror of
https://github.com/astaxie/beego.git
synced 2025-09-18 12:32:09 +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