Uploaded image for project: 'Citrus'
  1. CITRUS-169

FileUtils read to String breaks encoding

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1, 1.2, 1.3
    • Fix Version/s: 1.3.1
    • Component/s: citrus-core
    • Labels:
      None

      Description

      FileUtils do inefficiently read files to String. In some rare situations encoding may be destroyed as buffered reader usage in this class encodes intermediately. We have to read the whole file to memory as byte Array and perform encoding charset on whole file content instead.

        Attachments

          Activity

            People

            • Assignee:
              deppisch Christoph Deppisch
              Reporter:
              deppisch Christoph Deppisch
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: