]
Martin Putz updated JBPORTAL-2479:
----------------------------------
Attachment: JBPORTAL-2479.patch
Patch proposal to call request.setCharacterEncoding before request parameters are
retrieved.
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: Identity-1.1, 2.7.2 Final
Reporter: Martin Putz
Attachments: JBPORTAL-2479.patch
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: