Content-Length issue in JsServlet
---------------------------------
Key: SHINDIG-292
URL: https://issues.apache.org/jira/browse/SHINDIG-292
Project: Shindig
Issue Type: Bug
Components: Gadget Rendering Server (Java)
Reporter: Henning Schmiedehausen
Attachments: content-length.patch
There is a hard-to-spot issue in the JsServlet, which assumes that
foo.length() == foo.getBytes().length, which is subtle wrong as soon as
characters are multi-byte. I am pretty sure that this is in more than one
place, but I did not looked further. The attached patch fixes this for
JsServlet. Please apply.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.