Upgrading to spring 3.2.2 from 3.0.4, RequestBody String is getting escaped -
we upgraded spring 3.2.2 3.0.4. after upgrading noticed "requestbody" parameter in our controller function escaped or urlencoded. updated schemalocation 3.2.xsd spring-beans , spring-mvc.
for example in controller function below
@requestmapping(value = "/getfunnyfilters", method = requestmethod.post) public modelandview getfunnyfilters(@requestbody string body, httpsession session) {
value of body in 3.0.4
{"selectedfilters":{"values":[]}}
whereas in 3.2.2
%7b%22selectedfilters%22%3a%7b%22values%22%3a%5b%5d%7d%7d=
are missing settings or default behavior in 3.2.2. input appreciated.
thanks