You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Ziv Horesh (JIRA)" <ji...@apache.org> on 2010/01/29 03:39:34 UTC

[jira] Created: (SHINDIG-1276) Force makeRequest POST requests to use encoding

Force makeRequest POST requests to use encoding
-----------------------------------------------

                 Key: SHINDIG-1276
                 URL: https://issues.apache.org/jira/browse/SHINDIG-1276
             Project: Shindig
          Issue Type: Bug
          Components: Java
    Affects Versions: 1.0.1
            Reporter: Ziv Horesh


POST requests data is being converted from String to bytes array using getBytes without specified encoding
The results is if app is running with wrong encoding the data will be transfered using this encoding.
For example if you run with ISO-8859-1 encoding, but the post data is utf-8, all non english characters are replaced with question marks.

The fix is to use the header encoding or if not specified use utf-8

http://codereview.appspot.com/186278/show

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SHINDIG-1276) Force makeRequest POST requests to use encoding

Posted by "Paul Lindner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Lindner updated SHINDIG-1276:
----------------------------------

    Affects Version/s:     (was: 1.0.1)
                       1.1-BETA6
        Fix Version/s: 1.1-BETA6

thanks!

> Force makeRequest POST requests to use encoding
> -----------------------------------------------
>
>                 Key: SHINDIG-1276
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1276
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: 1.1-BETA6
>            Reporter: Ziv Horesh
>             Fix For: 1.1-BETA6
>
>
> POST requests data is being converted from String to bytes array using getBytes without specified encoding
> The results is if app is running with wrong encoding the data will be transfered using this encoding.
> For example if you run with ISO-8859-1 encoding, but the post data is utf-8, all non english characters are replaced with question marks.
> The fix is to use the header encoding or if not specified use utf-8
> http://codereview.appspot.com/186278/show

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SHINDIG-1276) Force makeRequest POST requests to use encoding

Posted by "Paul Lindner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Lindner resolved SHINDIG-1276.
-----------------------------------

    Resolution: Fixed

> Force makeRequest POST requests to use encoding
> -----------------------------------------------
>
>                 Key: SHINDIG-1276
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1276
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: 1.1-BETA6
>            Reporter: Ziv Horesh
>             Fix For: 1.1-BETA6
>
>
> POST requests data is being converted from String to bytes array using getBytes without specified encoding
> The results is if app is running with wrong encoding the data will be transfered using this encoding.
> For example if you run with ISO-8859-1 encoding, but the post data is utf-8, all non english characters are replaced with question marks.
> The fix is to use the header encoding or if not specified use utf-8
> http://codereview.appspot.com/186278/show

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.