mirror of
https://github.com/gin-gonic/gin.git
synced 2026-07-14 07:07:03 +08:00
Compare commits
2 Commits
49615cfe0b
...
7ff0284ccb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7ff0284ccb | ||
|
|
ea3669ea6e |
2
path.go
2
path.go
@ -115,7 +115,7 @@ func cleanPath(p string) string {
|
||||
|
||||
// If the original string was not modified (or only shortened at the end),
|
||||
// return the respective substring of the original string.
|
||||
// Otherwise return a new string from the buffer.
|
||||
// Otherwise, return a new string from the buffer.
|
||||
if len(buf) == 0 {
|
||||
return p[:w]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user