Commit 113abbe6 authored by Nishant Raut's avatar Nishant Raut Committed by Phillip Webb

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
parent 33c7a74b
...@@ -2258,6 +2258,9 @@ suffix pattern matching, the following configuration is required: ...@@ -2258,6 +2258,9 @@ suffix pattern matching, the following configuration is required:
---- ----
spring.mvc.contentnegotiation.favor-path-extension=true 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 # You can also restrict that feature to known extensions only
# spring.mvc.pathmatch.use-registered-suffix-pattern=true # spring.mvc.pathmatch.use-registered-suffix-pattern=true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment