[
https://wso2.org/jira/browse/MASHUP-1135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=24559#action_24559
]
Jonathan Marsh commented on MASHUP-1135:
----------------------------------------
We seem unable to come up with a simple testcase to repro the problem. Can you
provide a bit more information about where the accented characters are coming
from? And could this be a function of the character encoding of the page
importing the stub?
> 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