[ 
https://wso2.org/jira/browse/MASHUP-1135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=24551#action_24551
 ] 

Keith Godwin Chapman commented on MASHUP-1135:
----------------------------------------------

I tried deploying the following service on the Mashup Server and tried it 
(Forcing the tryit to go through the XSS proxy)

bar.outputType="string";
function bar(){
return "à, è, ì, ò, ù - À, È, Ì, Ò, Ù";
}

the tryit returns à, è, ì, ò, ù - À, È, Ì, Ò, Ù as expected.

> Character encoding lost in XSS proxy
> ------------------------------------
>
>                 Key: MASHUP-1135
>                 URL: https://wso2.org/jira/browse/MASHUP-1135
>             Project: WSO2 Mashup Server
>          Issue Type: Bug
>         Environment: (analyzed with Firebug)
>            Reporter: Pavel Kriz
>            Assignee: Jonathan Marsh
>             Fix For: 1.5.2
>
>
> Tested with "Try-it" page: The service returns data in UTF-8 encoding and 
> WSRequestXSSproxy.jsp replies (to the browser) with content type 
> "application/javascript" but without character encoding specified (which 
> implies iso-8859-1) - so characters with accents are not displayed correctly.
> I've fixed it locally in my installation by replacing
> <%@ page contentType="application/javascript" language="java" %>
> with
> <%@ page contentType="application/javascript; charset=UTF-8" language="java" 
> %>
> in WSRequestXSSproxy.jsp file.
> I'm not sure, it's general solution, but it works for me (my service obtains 
> data from another service, using WSRequest, in UTF-8 encoding).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
Mashup-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to