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:57:55 UTC

[jira] Closed: (SHINDIG-292) Content-Length issue in JsServlet

     [ https://issues.apache.org/jira/browse/SHINDIG-292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Brown closed SHINDIG-292.
-------------------------------

    Resolution: Fixed

Applied

> 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.