Skip to content

Commit

Permalink
📝 middleware/filesystem does not handle url encoded values
Browse files Browse the repository at this point in the history
  • Loading branch information
Simerax committed Nov 30, 2022
1 parent eb5ebbd commit df4f60e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/middleware/filesystem.md
Expand Up @@ -2,7 +2,8 @@

Filesystem middleware for [Fiber](https://github.com/gofiber/fiber) that enables you to serve files from a directory.

⚠️ **`:params` & `:optionals?` within the prefix path are not supported!**
⚠️ **`:params` & `:optionals?` within the prefix path are not supported!**
⚠️ **To handle paths with spaces (or other url encoded values) make sure to set `fiber.Config{ UnescapePath: true}`**

### Table of Contents

Expand Down

0 comments on commit df4f60e

Please sign in to comment.