LiveBeansView should support double quotes in application context id [SPR-16899] #21438
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: declined
A suggestion or change that we don't feel we should currently apply
type: enhancement
A general enhancement
Konstantin Aleev opened SPR-16899 and commented
result.append("{\n"context": "").append(context.getId()).append("",\n"); in org.springframework.context.support.LiveBeansView.generateJson(Set<ConfigurableApplicationContext>) 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:
The text was updated successfully, but these errors were encountered: