Skip to content

Commit ef2a5da

Browse files
committed
Polish
1 parent bc6b9be commit ef2a5da

File tree

1 file changed

+2
-3
lines changed
  • spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint

1 file changed

+2
-3
lines changed

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/Sanitizer.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,8 @@ public class Sanitizer {
4848

4949
private static final String[] REGEX_PARTS = { "*", "$", "^", "+" };
5050

51-
private static final Set<String> DEFAULT_KEYS_TO_SANITIZE = new LinkedHashSet<>(
52-
Arrays.asList("password", "secret", "key", "token", ".*credentials.*", "vcap_services", "sun.java.command",
53-
"^spring[\\._]application[\\\\._]json$"));
51+
private static final Set<String> DEFAULT_KEYS_TO_SANITIZE = new LinkedHashSet<>(Arrays.asList("password", "secret",
52+
"key", "token", ".*credentials.*", "vcap_services", "sun.java.command", "^spring[._]application[._]json$"));
5453

5554
private static final Set<String> URI_USERINFO_KEYS = new LinkedHashSet<>(
5655
Arrays.asList("uri", "uris", "url", "urls", "address", "addresses"));

0 commit comments

Comments
 (0)