mirror of
https://github.com/astaxie/beego.git
synced 2025-04-09 06:20:20 +00:00
fix #824
This commit is contained in:
parent
da127bbc22
commit
90cff5f042
3
tree.go
3
tree.go
@ -394,6 +394,9 @@ func (leaf *leafInfo) match(wildcardValues []string) (ok bool, params map[string
|
|||||||
}
|
}
|
||||||
return true, params
|
return true, params
|
||||||
}
|
}
|
||||||
|
if len(wildcardValues) <= j {
|
||||||
|
return false, nil
|
||||||
|
}
|
||||||
params[v] = wildcardValues[j]
|
params[v] = wildcardValues[j]
|
||||||
j += 1
|
j += 1
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user