From 113abbe6e6d81b12081cbc8934b115e3b22fa6fc Mon Sep 17 00:00:00 2001 From: Nishant Raut <10669557+nishantraut@users.noreply.github.com> Date: Sat, 27 Oct 2018 15:22:21 +0530 Subject: [PATCH] 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 --- .../src/main/asciidoc/spring-boot-features.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 1ca1781d8d..4fa79245b4 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -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