Compare commits

...

2 Commits

1
gin.go
View File

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