|
|
@ -48,9 +48,8 @@ public class Sanitizer {
|
|
|
|
|
|
|
|
|
|
|
|
private static final String[] REGEX_PARTS = { "*", "$", "^", "+" };
|
|
|
|
private static final String[] REGEX_PARTS = { "*", "$", "^", "+" };
|
|
|
|
|
|
|
|
|
|
|
|
private static final Set<String> DEFAULT_KEYS_TO_SANITIZE = new LinkedHashSet<>(
|
|
|
|
private static final Set<String> DEFAULT_KEYS_TO_SANITIZE = new LinkedHashSet<>(Arrays.asList("password", "secret",
|
|
|
|
Arrays.asList("password", "secret", "key", "token", ".*credentials.*", "vcap_services", "sun.java.command",
|
|
|
|
"key", "token", ".*credentials.*", "vcap_services", "sun.java.command", "^spring[._]application[._]json$"));
|
|
|
|
"^spring[\\._]application[\\\\._]json$"));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static final Set<String> URI_USERINFO_KEYS = new LinkedHashSet<>(
|
|
|
|
private static final Set<String> URI_USERINFO_KEYS = new LinkedHashSet<>(
|
|
|
|
Arrays.asList("uri", "uris", "url", "urls", "address", "addresses"));
|
|
|
|
Arrays.asList("uri", "uris", "url", "urls", "address", "addresses"));
|
|
|
|