mirror of https://github.com/gin-gonic/gin.git
RedirectTrailingSlash has no effect unless RedirectFixedPath is set
Which is not likely the desired behavior. RedirectTrailingSlash setting is meant to cause a redirect, but the code is never called because the setting wasn't being checked. Instead RedirectFixedPath was being checked.
This commit is contained in:
parent
0316b735c4
commit
2b8ed80da0
Loading…
Reference in New Issue