From b6d1e8856325eb35888e6e8273a88b8b68ec6a0c Mon Sep 17 00:00:00 2001 From: rstoyanchev Date: Wed, 28 Jan 2026 12:27:09 +0000 Subject: [PATCH] Fix unfinished edit from previous commit See gh-36198 --- .../modules/ROOT/pages/web/webflux/reactive-spring.adoc | 1 - framework-docs/modules/ROOT/pages/web/webmvc/filters.adoc | 1 - 2 files changed, 2 deletions(-) diff --git a/framework-docs/modules/ROOT/pages/web/webflux/reactive-spring.adoc b/framework-docs/modules/ROOT/pages/web/webflux/reactive-spring.adoc index 6c90c45a0e0..0e2d55d4c84 100644 --- a/framework-docs/modules/ROOT/pages/web/webflux/reactive-spring.adoc +++ b/framework-docs/modules/ROOT/pages/web/webflux/reactive-spring.adoc @@ -432,7 +432,6 @@ include-code::./UrlHandlerFilterConfiguration[tag=config,indent=0] Keep in mind the following: - the root path `"/"` is excluded from trailing slash handling. -- prefer `@RequestMapping` over - `@RequestMapping("/")` adds a trailing slash to a type-level mapping, and therefore will not map when trailing slash handling applies; use `@RequestMapping` (no path attribute) instead. diff --git a/framework-docs/modules/ROOT/pages/web/webmvc/filters.adoc b/framework-docs/modules/ROOT/pages/web/webmvc/filters.adoc index 6a445ab3616..3e2aad25221 100644 --- a/framework-docs/modules/ROOT/pages/web/webmvc/filters.adoc +++ b/framework-docs/modules/ROOT/pages/web/webmvc/filters.adoc @@ -141,6 +141,5 @@ include-code::./UrlHandlerFilterConfiguration[tag=config,indent=0] Keep in mind the following: - the root path `"/"` is excluded from trailing slash handling. -- prefer `@RequestMapping` over - `@RequestMapping("/")` adds a trailing slash to a type-level mapping, and therefore will not map when trailing slash handling applies; use `@RequestMapping` (no path attribute) instead.