Skip to content

Commit 2c7b74d

Browse files
committed
Merge pull request #14708 from Johnny Lim
* gh-14708: Fix broken Asciidoctor syntax
2 parents 1471db2 + 2ba3080 commit 2c7b74d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-docs/src/main/asciidoc/howto.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2440,11 +2440,11 @@ how to register handlers in the servlet container.
24402440
=== Sanitize sensible values
24412441
Information returned by the `env` and `configprops` endpoints can be somewhat sensitive
24422442
so keys matching a certain pattern are sanitized by default (i.e. their values are
2443-
replaced by `******`).
2443+
replaced by `+******+`).
24442444

24452445
Spring Boot uses sensible defaults for such keys: for instance, any key ending with the
24462446
word "password", "secret", "key" or "token" is sanitized. It is also possible to use a
2447-
regular expression instead, such as `*credentials.*` to sanitize any key that holds the
2447+
regular expression instead, such as `+*credentials.*+` to sanitize any key that holds the
24482448
word `credentials` as part of the key.
24492449

24502450
The patterns to use can be customized using the `endpoints.env.keys-to-sanitize` and

0 commit comments

Comments
 (0)