[
https://issues.apache.org/jira/browse/CXF-4133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
boshi updated CXF-4133:
------------------------
Description:
org.apache.cxf.io.CachedOutputStream
{code}
public void writeCacheTo(StringBuilder out, String charsetName, int limit)
throws IOException {
flush();
if (totalLength < limit
|| limit == -1) {
writeCacheTo(out); // <--- here lost charsetName param(if not using
utf8) and make the non-utf8 char in log unreadable
return;
}
{code}
was:
org.apache.cxf.io.CachedOutputStream
public void writeCacheTo(StringBuilder out, String charsetName, int limit)
throws IOException {
flush();
if (totalLength < limit
|| limit == -1) {
writeCacheTo(out); <--- here lost charsetName param(if not using
utf8) and make the non-utf8 char in log unreadable
return;
}
> CachedOutputStream lost charsetName param
> -----------------------------------------
>
> Key: CXF-4133
> URL: https://issues.apache.org/jira/browse/CXF-4133
> Project: CXF
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.2.12
> Reporter: boshi
>
> org.apache.cxf.io.CachedOutputStream
> {code}
> public void writeCacheTo(StringBuilder out, String charsetName, int
> limit) throws IOException {
> flush();
> if (totalLength < limit
> || limit == -1) {
> writeCacheTo(out); // <--- here lost charsetName param(if not
> using utf8) and make the non-utf8 char in log unreadable
> return;
> }
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira