parent
d8dfaaeb2e
commit
1e24473f5f
2
tree.go
2
tree.go
@ -325,7 +325,7 @@ func (n *node) insertChild(path string, fullPath string, handlers HandlersChain)
|
|||||||
n.priority++
|
n.priority++
|
||||||
|
|
||||||
// if the path doesn't end with the wildcard, then there
|
// if the path doesn't end with the wildcard, then there
|
||||||
// will be another non-wildcard subpath starting with '/'
|
// will be another subpath starting with '/'
|
||||||
if len(wildcard) < len(path) {
|
if len(wildcard) < len(path) {
|
||||||
path = path[len(wildcard):]
|
path = path[len(wildcard):]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user