Andrea Vettori created WW-5602:
----------------------------------
Summary: Can't specify empty charset on StreamResult
Key: WW-5602
URL: https://issues.apache.org/jira/browse/WW-5602
Project: Struts 2
Issue Type: Bug
Components: Dispatch Filter
Affects Versions: 6.8.0
Reporter: Andrea Vettori
When serving binary files using StreamResult the Content Type header should NOT
contain a charset specification.
If the charset is not specified in the StreamResult, UTF-8 is automatically
applied.
If the charset is specified with an expression, and the expression evaluates to
null/empty string, an invalid
;charset=
specification is added to the content-type header on the StreamResult.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)