Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.0
-
None
-
Important
Description
The head version of StreamResult.java has a very obvious bug.
protected void resolveParamsFromStack(ValueStack stack) {
..........................
String contentType = stack.findString("contentType");
if (contentType != null)
..........................
}
Change from
setContentLength(contentType);
To:
setContentType(contentType);