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 gh-14977
This commit is contained in:
Nishant Raut
2018-10-27 15:22:21 +05:30
committed by Phillip Webb
parent 33c7a74bee
commit 113abbe6e6

View File

@@ -2258,6 +2258,9 @@ suffix pattern matching, the following configuration is required:
----
spring.mvc.contentnegotiation.favor-path-extension=true
#Whether to use suffix pattern match (".*") when matching patterns to requests
spring.mvc.pathmatch.use-suffix-pattern=true
# You can also restrict that feature to known extensions only
# spring.mvc.pathmatch.use-registered-suffix-pattern=true