Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.1 M1
-
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
- is related to
-
XWIKI-164 Content-length set incorrectly for multi-byte encoding
- Closed