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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1 M1
    • Fix Version/s: 1.1 M2
    • Component/s: {Unused} Core
    • Labels:
      None
    • Similar issues:

      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

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

                Dates

                Created:
                Updated:
                Resolved: