Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1321

Content-length computed using the platform encoding, instead of the configured XWiki encoding

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.1 M2
    • 1.1 M1
    • {Unused} Core
    • None

    Description

      Utils.parseTemplate sets the content length to the number of bytes, as computed using the platform (jvm) encoding, instead of the configured encoding for XWiki. This leads to truncated responses, if enc(JVM)=ISO-8859-1 and enc(XWiki)=UTF-8, or very long waiting times if enc(JVM)=UtF-8 and enc(XWiki)=ISO-8859-1, for example.

      Attachments

        Issue Links

          Activity

            People

              sdumitriu Sergiu Dumitriu
              sdumitriu Sergiu Dumitriu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: