From 160edff2573e77cca4b9a4a7b234ce3d0ba53065 Mon Sep 17 00:00:00 2001 From: Romain Date: Fri, 18 Apr 2025 10:42:04 +0200 Subject: [PATCH] Change version for path sanitization migration guide --- docs/content/migration/v2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/migration/v2.md b/docs/content/migration/v2.md index d56767071..cfffaadfd 100644 --- a/docs/content/migration/v2.md +++ b/docs/content/migration/v2.md @@ -657,11 +657,11 @@ Please check out the [entrypoint forwarded headers connection option configurati In `v2.11.14`, the `X-Forwarded-Prefix` header is now handled like the other `X-Forwarded-*` headers: Traefik removes it when it's sent from an untrusted source. Please refer to the Forwarded headers [documentation](../routing/entrypoints.md#forwarded-headers) for more details. -## v2.11.23 +## v2.11.24 ### Request Path Sanitization -Since `v2.11.23`, the incoming request path is now cleaned before being used to match the router rules and sent to the backends. +Since `v2.11.24`, the incoming request path is now cleaned before being used to match the router rules and sent to the backends. Any `/../`, `/./` or duplicate slash segments in the request path is interpreted and/or collapsed. If you want to disable this behavior, you can set the [`sanitizePath` option](../routing/entrypoints.md#sanitizepath) to `false` in the entryPoint HTTP configuration.