mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +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:
|
Keep in mind the following:
|
||||||
|
|
||||||
- the root path `"/"` is excluded from trailing slash handling.
|
- 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
|
- `@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.
|
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:
|
Keep in mind the following:
|
||||||
|
|
||||||
- the root path `"/"` is excluded from trailing slash handling.
|
- 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
|
- `@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.
|
not map when trailing slash handling applies; use `@RequestMapping` (no path attribute) instead.
|
||||||
|
|||||||
Reference in New Issue
Block a user