Hi,

I have upgarded spring framework from 5.2.17 to 5.3.24 with that response body been truncated..

Expected Response(Before the upgrade) : {"success":true}

After the Upgrade : {"success

Code snippet for the above is

@RequestMapping(value = "/test", method = { RequestMethod.GET })
public ResponseEntity<String> testCode(
        @RequestParam(value = "Id", required = true) String id) 
        throws FunctionalException {

    JSONObject json = new JSONObject();

    json.put(SmartAPPPlatformConstants.SUCCESS, true);

    return new ResponseEntity<>(json.toString(), HttpStatus.OK);

}

Comment From: bclozel

Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. As mentioned in the guidelines for contributing, we prefer to use the issue tracker only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug.