Character encoding incorrect with CASAuthenticationValve enabled
----------------------------------------------------------------
Key: JBPORTAL-2479
URL:
https://jira.jboss.org/browse/JBPORTAL-2479
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal Identity
Affects Versions: 2.7.2 Final, Identity-1.1
Reporter: Martin Putz
With CASAuthenticationValve enabled, data inserted is returned garbled. In the invoke()
method, the parameters are retrieved from the request object. This parses the parameters
before any character encoding has been set, but it sets the parameters parsed flag to
true. Therefore the encoding will never get set.
To get around this, request.setCharacterEncoding(..) needs to be called before any request
parameters are retrieved.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira