Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
9be36f3a
Commit
9be36f3a
authored
Mar 09, 2021
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.3.x' into 2.4.x
parents
dace7bb7
3e9341fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
spring-boot-features.adoc
...ing-boot-docs/src/docs/asciidoc/spring-boot-features.adoc
+8
-4
build.gradle
spring-boot-project/spring-boot-parent/build.gradle
+1
-1
No files found.
spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc
View file @
9be36f3a
...
@@ -2788,15 +2788,19 @@ Most standard media types are supported out-of-the-box, but you can also define
...
@@ -2788,15 +2788,19 @@ Most standard media types are supported out-of-the-box, but you can also define
Suffix pattern matching is deprecated and will be removed in a future release.
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:
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"
]
[source,
yaml,indent=0,subs="verbatim,quotes,attributes",configblocks
]
----
----
spring.mvc.contentnegotiation.favor-path-extension=true
spring:
spring.mvc.pathmatch.use-suffix-pattern=true
mvc:
contentnegotiation:
favor-path-extension: true
pathmatch:
use-suffix-pattern: true
----
----
Alternatively, rather than open all suffix patterns, it's more secure to only support registered suffix patterns:
Alternatively, rather than open all suffix patterns, it's more secure to only support registered suffix patterns:
[source,yaml,indent=0,subs="verbatim,quotes,attributes",config
props,config
blocks]
[source,yaml,indent=0,subs="verbatim,quotes,attributes",configblocks]
----
----
spring:
spring:
mvc:
mvc:
...
...
spring-boot-project/spring-boot-parent/build.gradle
View file @
9be36f3a
...
@@ -148,7 +148,7 @@ bom {
...
@@ -148,7 +148,7 @@ bom {
]
]
}
}
}
}
library
(
"Spring Asciidoctor Extensions"
,
"0.5.
0
"
)
{
library
(
"Spring Asciidoctor Extensions"
,
"0.5.
1-SNAPSHOT
"
)
{
group
(
"io.spring.asciidoctor"
)
{
group
(
"io.spring.asciidoctor"
)
{
modules
=
[
modules
=
[
"spring-asciidoctor-extensions-block-switch"
,
"spring-asciidoctor-extensions-block-switch"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment