From a234dff573179f9cd09fc229d91979e0c6fc1932 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 26 Mar 2020 11:06:47 +0100 Subject: [PATCH] Remove check for deprecated configuration properties See gh-20528 --- .../src/main/asciidoc/spring-boot-features.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ff311f558c..9faeb626cb 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 @@ -2200,7 +2200,7 @@ Nowadays, Content Negotiation is much more reliable. There are other ways to deal with HTTP clients that don't consistently send proper "Accept" request headers. Instead of using suffix matching, we can use a query parameter to ensure that requests like `"GET /projects/spring-boot?format=json"` will be mapped to `@GetMapping("/projects/spring-boot")`: -[source,properties,indent=0,subs="verbatim,quotes,attributes",configprops] +[source,properties,indent=0,subs="verbatim,quotes,attributes"] ---- spring.mvc.contentnegotiation.favor-parameter=true @@ -2214,7 +2214,7 @@ Instead of using suffix matching, we can use a query parameter to ensure that re Suffix pattern matching is deprecated and will be removed in a future release. If you understand the caveats and would still like your application to use suffix pattern matching, the following configuration is required: -[source,properties,indent=0,subs="verbatim,quotes,attributes",configprops] +[source,properties,indent=0,subs="verbatim,quotes,attributes"] ---- spring.mvc.contentnegotiation.favor-path-extension=true spring.mvc.pathmatch.use-suffix-pattern=true @@ -2222,7 +2222,7 @@ If you understand the caveats and would still like your application to use suffi Alternatively, rather than open all suffix patterns, it's more secure to just support registered suffix patterns: -[source,properties,indent=0,subs="verbatim,quotes,attributes",configprops] +[source,properties,indent=0,subs="verbatim,quotes,attributes"] ---- spring.mvc.contentnegotiation.favor-path-extension=true spring.mvc.pathmatch.use-registered-suffix-pattern=true