mirror of
https://github.com/gin-gonic/gin.git
synced 2026-01-10 16:47:05 +08:00
Compare commits
2 Commits
904a10eb42
...
9a6be2284d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a6be2284d | ||
|
|
585a6c484b |
1
gin.go
1
gin.go
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user