Switch default MVC path matching strategy
Change the default `spring.mvc.pathmatch.matching-strategy` to `PATH_PATTERN_PARSER`. Closes gh-24805
This commit is contained in:
@@ -434,7 +434,7 @@ public class WebMvcProperties {
|
||||
/**
|
||||
* Choice of strategy for matching request paths against registered mappings.
|
||||
*/
|
||||
private MatchingStrategy matchingStrategy = MatchingStrategy.ANT_PATH_MATCHER;
|
||||
private MatchingStrategy matchingStrategy = MatchingStrategy.PATH_PATTERN_PARSER;
|
||||
|
||||
/**
|
||||
* Whether to use suffix pattern match (".*") when matching patterns to requests.
|
||||
|
||||
Reference in New Issue
Block a user