mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Fix unfinished edit from previous commit
See gh-36198
This commit is contained in:
@@ -395,7 +395,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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user