🐛 UnescapePath not working #1102

Co-authored-by: Fenny <fenny@gofiber.io>
pull/1104/head
ReneWerner87 2021-01-06 13:28:48 +01:00
parent e94e653ca7
commit 50a269da08
1 changed files with 3 additions and 2 deletions

5
app.go
View File

@ -138,8 +138,9 @@ type Config struct {
Immutable bool `json:"immutable"`
// When set to true, converts all encoded characters in the route back
// before setting the path for the context, so that the routing can also
// work with urlencoded special characters.
// before setting the path for the context, so that the routing,
// the returning of the current url from the context `ctx.Path()`
// and the paramters `ctx.Params(%key%)` with decoded characters will work
//
// Default: false
UnescapePath bool `json:"unescape_path"`