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: Channa Gunawardena
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