Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4133

CachedOutputStream lost charsetName param

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.12
    • 2.3.10, 2.4.7, 2.5.3, 2.6
    • Core
    • None
    • Unknown

    Description

      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;
              }
      

      Attachments

        Activity

          People

            ay Akitoshi Yoshida
            farmer1992 boshi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: