You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Kevin Brown (JIRA)" <ji...@apache.org> on 2008/05/21 20:53:55 UTC
[jira] Commented: (SHINDIG-292) Content-Length issue in JsServlet
[ https://issues.apache.org/jira/browse/SHINDIG-292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12598747#action_12598747 ]
Kevin Brown commented on SHINDIG-292:
-------------------------------------
Good catch.
How are you applying the patches generated? patch doesn't seem to care for the extra stuff that git is adding, and no value for -p seems to resolve it.
> 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.