Merge 585a6c484bb36904838414858ea7b5b6aa10d458 into 077a2f39c85700ba0823f85ed29cec0c8f2cbdfc

This commit is contained in:
MGu 2025-08-20 00:49:32 +08:00 committed by GitHub
commit b2a74783a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

1
gin.go
View File

@ -669,6 +669,7 @@ func (engine *Engine) handleHTTPRequest(c *Context) {
if engine.RemoveExtraSlash {
rPath = cleanPath(rPath)
c.Request.URL.Path = rPath
}
// Find root of the tree for the given HTTP method