From 2ba3080508bf18f21859bc8535dc27d67d31416a Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Sat, 6 Oct 2018 20:18:03 +0900 Subject: [PATCH] Fix broken Asciidoctor syntax Closes gh-14708 --- spring-boot-docs/src/main/asciidoc/howto.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-docs/src/main/asciidoc/howto.adoc index 5db817d2948..ed92a3087cd 100644 --- a/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -2440,11 +2440,11 @@ how to register handlers in the servlet container. === Sanitize sensible values Information returned by the `env` and `configprops` endpoints can be somewhat sensitive so keys matching a certain pattern are sanitized by default (i.e. their values are -replaced by `******`). +replaced by `+******+`). Spring Boot uses sensible defaults for such keys: for instance, any key ending with the word "password", "secret", "key" or "token" is sanitized. It is also possible to use a -regular expression instead, such as `*credentials.*` to sanitize any key that holds the +regular expression instead, such as `+*credentials.*+` to sanitize any key that holds the word `credentials` as part of the key. The patterns to use can be customized using the `endpoints.env.keys-to-sanitize` and