Skip to content

Commit a234dff

Browse files
committed
Remove check for deprecated configuration properties
See gh-20528
1 parent ab01c55 commit a234dff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2200,7 +2200,7 @@ Nowadays, Content Negotiation is much more reliable.
22002200
There are other ways to deal with HTTP clients that don't consistently send proper "Accept" request headers.
22012201
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")`:
22022202

2203-
[source,properties,indent=0,subs="verbatim,quotes,attributes",configprops]
2203+
[source,properties,indent=0,subs="verbatim,quotes,attributes"]
22042204
----
22052205
spring.mvc.contentnegotiation.favor-parameter=true
22062206
@@ -2214,15 +2214,15 @@ Instead of using suffix matching, we can use a query parameter to ensure that re
22142214
Suffix pattern matching is deprecated and will be removed in a future release.
22152215
If you understand the caveats and would still like your application to use suffix pattern matching, the following configuration is required:
22162216

2217-
[source,properties,indent=0,subs="verbatim,quotes,attributes",configprops]
2217+
[source,properties,indent=0,subs="verbatim,quotes,attributes"]
22182218
----
22192219
spring.mvc.contentnegotiation.favor-path-extension=true
22202220
spring.mvc.pathmatch.use-suffix-pattern=true
22212221
----
22222222

22232223
Alternatively, rather than open all suffix patterns, it's more secure to just support registered suffix patterns:
22242224

2225-
[source,properties,indent=0,subs="verbatim,quotes,attributes",configprops]
2225+
[source,properties,indent=0,subs="verbatim,quotes,attributes"]
22262226
----
22272227
spring.mvc.contentnegotiation.favor-path-extension=true
22282228
spring.mvc.pathmatch.use-registered-suffix-pattern=true

0 commit comments

Comments
 (0)