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