mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Ensure that entries in a list of lists are not lost during sanitization
Closes gh-8263 See gh-8197
This commit is contained in:
parent
9499658bc3
commit
88afc43d44
@ -259,10 +259,9 @@ public class ConfigurationPropertiesReportEndpoint
|
||||
sanitized.add(sanitize(prefix, (Map<String, Object>) item));
|
||||
}
|
||||
else if (item instanceof List) {
|
||||
sanitize(prefix, (List<Object>) item);
|
||||
sanitized.add(sanitize(prefix, (List<Object>) item));
|
||||
}
|
||||
else {
|
||||
item = this.sanitizer.sanitize(prefix, item);
|
||||
sanitized.add(this.sanitizer.sanitize(prefix, item));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user