mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-07-06 22:24:06 +00:00
Update vendor (#1228)
This commit is contained in:
4
vendor/github.com/labstack/echo/v4/router.go
generated
vendored
4
vendor/github.com/labstack/echo/v4/router.go
generated
vendored
@ -355,6 +355,10 @@ func (r *Router) Find(method, path string, c Context) {
|
||||
|
||||
// Attempt to go back up the tree on no matching prefix or no remaining search
|
||||
if l != pl || search == "" {
|
||||
// Handle special case of trailing slash route with existing any route (see #1526)
|
||||
if path[len(path)-1] == '/' && cn.findChildByKind(akind) != nil {
|
||||
goto Any
|
||||
}
|
||||
if nn == nil { // Issue #1348
|
||||
return // Not found
|
||||
}
|
||||
|
Reference in New Issue
Block a user