Mantis - Resin
Viewing Issue Advanced Details
5565 minor always 10-24-13 02:43 09-10-14 14:54
54chen  
ferg  
normal  
closed 4.0.33  
fixed  
none    
none 4.0.41  
0005565: content-type problem:application/json; missing charset value.
from 4.0.34 in HttpServletResponseImpl.java:

if (charEncoding != null && _contentType.startsWith("text/")) {

When I want to output "content-type:application/json;charset=utf-8"&65292;it could not output as I thought.The charset was missing.Only text/* have charset value.

Without charset value, the json will be wrong sometimes.
content-type:application/json;charset=utf-8

Maybe brought by 0005271&12290;

Notes
(0006505)
ferg   
09-10-14 14:54   
server/1b5d