Affects: 5.2.7.RELEASE
When calling the reset() method of MockHttpServletResponse, the boolean charset is not reset to false.
If the response object had the charset set before being reset, charset=null is appended to the mime type.
This can lead to an InvalidMediaTypeException:
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is
org.springframework.http.InvalidMediaTypeException: Invalid mime type "application/octet-stream;charset=null":
unsupported charset 'null'
Affects: 5.2.7.RELEASE
When calling the
reset()method ofMockHttpServletResponse, the booleancharsetis not reset to false.If the response object had the charset set before being reset,
charset=nullis appended to the mime type.This can lead to an
InvalidMediaTypeException: