Konstantin Aleev opened SPR-16899 and commented

result.append("{\n\"context\": \"").append(context.getId()).append("\",\n"); in org.springframework.context.support.LiveBeansView.generateJson(Set\) creates invalid JSON if context id already has double quotes.

The problem could be reproduced by assigning some string with double quotes to 'spring.application.name' in Spring Boot application.


Affects: 5.0.6

Issue Links: - #18773 LiveBeansView doesn't contain singletons registered programmatically - #21327 LiveBeansView is not really fit for purpose any more

Comment From: sbrannen

Closing since LiveBeansView is now deprecated (see #25820).