mirror of
https://github.com/gofiber/fiber.git
synced 2025-07-13 23:58:29 +00:00
🐛 UnescapePath not working #1102
Co-authored-by: Fenny <fenny@gofiber.io>
This commit is contained in:
parent
e94e653ca7
commit
50a269da08
5
app.go
5
app.go
@ -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"`
|
||||
|
Loading…
x
Reference in New Issue
Block a user