e11c40ee by astaxie

fix #244

1 parent 5d55ca19
......@@ -26,9 +26,11 @@ func (mr *FilterRouter) ValidRouter(router string) bool {
return true
}
matches := mr.regex.FindStringSubmatch(router)
if len(matches) > 0 {
if len(matches[0]) == len(router) {
return true
}
}
}
return false
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!