After upgrading to spring framework 5.3.21, the response body is not auto converted to json if content type use is other than application/json.

This is causing issues on client side when decoding a json due to invalud data:

Comment From: abe0503

Spring After upgrading to soring framework 5.3.21, the response body us not auto converted to json

Comment From: bclozel

I'm not sure I understand. Do you have a sample application (ideally, minimal and created with https://start.spring.io) that demonstrates the issue?

Comment From: spring-projects-issues

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Comment From: abe0503

Oh sorry, i figured it out. There was a deprecated classs which gets the file extension and use it as negotiation strategy for the content type.

Comment From: bclozel

ok thanks for letting us know, I'm glad this is sorted out on your side.