From df4f60e193bffc2bf0a530cf64df1c63ce3f7b7d Mon Sep 17 00:00:00 2001 From: Xaver Fischer Date: Wed, 30 Nov 2022 20:49:50 +0100 Subject: [PATCH] :memo: middleware/filesystem does not handle url encoded values related to https://github.com/gofiber/fiber/pull/2247 --- api/middleware/filesystem.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/middleware/filesystem.md b/api/middleware/filesystem.md index ace38a263ca..d3598aabb34 100644 --- a/api/middleware/filesystem.md +++ b/api/middleware/filesystem.md @@ -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