Skip to content

Commit 113abbe

Browse files
nishantrautphilwebb
authored andcommitted
Improve Path Matching and Content Negotiation docs
Add a note to the "Path Matching and Content Negotiation" section about the `spring.mvc.pathmatch.use-suffix-pattern` property. Closes spring-projectsgh-14977
1 parent 33c7a74 commit 113abbe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

+3
Original file line numberDiff line numberDiff line change
@@ -2258,6 +2258,9 @@ suffix pattern matching, the following configuration is required:
22582258
----
22592259
spring.mvc.contentnegotiation.favor-path-extension=true
22602260
2261+
#Whether to use suffix pattern match (".*") when matching patterns to requests
2262+
spring.mvc.pathmatch.use-suffix-pattern=true
2263+
22612264
# You can also restrict that feature to known extensions only
22622265
# spring.mvc.pathmatch.use-registered-suffix-pattern=true
22632266

0 commit comments

Comments
 (0)