From 8241989d3bddc4501040f16e2394b1610837487b Mon Sep 17 00:00:00 2001 From: Herman S Date: Fri, 1 Mar 2024 07:55:11 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20Fix=20TrustedProxies=20documenta?= =?UTF-8?q?tion=20related=20to=20IP=20ranges?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This has been changed in eee279bdb3850c1e9365c94776a3eaf898d19e37, but the documentation is still referring to older logic --- docs/api/fiber.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/fiber.md b/docs/api/fiber.md index 28850db0ba..6e773b78d6 100644 --- a/docs/api/fiber.md +++ b/docs/api/fiber.md @@ -74,7 +74,7 @@ app := fiber.New(fiber.Config{ | ServerHeader | `string` | Enables the `Server` HTTP header with the given value. | `""` | | StreamRequestBody | `bool` | StreamRequestBody enables request body streaming, and calls the handler sooner when given body is larger than the current limit. | `false` | | StrictRouting | `bool` | When enabled, the router treats `/foo` and `/foo/` as different. Otherwise, the router treats `/foo` and `/foo/` as the same. | `false` | -| TrustedProxies | `[]string` | Contains the list of trusted proxy IP's. Look at `EnableTrustedProxyCheck` doc.

It can take IP or IP range addresses. If it gets IP range, it iterates all possible addresses. | `[]string*__*` | +| TrustedProxies | `[]string` | Contains the list of trusted proxy IP's. Look at `EnableTrustedProxyCheck` doc.

It can take IP or IP range addresses. | `[]string*__*` | | UnescapePath | `bool` | Converts all encoded characters in the route back before setting the path for the context, so that the routing can also work with URL encoded special characters | `false` | | Views | `Views` | Views is the interface that wraps the Render function. See our **Template Middleware** for supported engines. | `nil` | | ViewsLayout | `string` | Views Layout is the global layout for all template render until override on Render function. See our **Template Middleware** for supported engines. | `""` |