mirror of
https://github.com/gin-gonic/gin.git
synced 2026-06-07 04:38:19 +08:00
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
1cef787a49
commit
a48b9f623a
2
tree.go
2
tree.go
@ -564,7 +564,7 @@ walk: // Outer loop for walking the tree
|
|||||||
*value.params = (*value.params)[:i+1]
|
*value.params = (*value.params)[:i+1]
|
||||||
val := path
|
val := path
|
||||||
if unescape {
|
if unescape {
|
||||||
if v, err := url.PathUnescape(path); err == nil {
|
if v, err := url.PathUnescape(val); err == nil {
|
||||||
val = v
|
val = v
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user