struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-5024) HttpParameters.Builder can wrap objects in two layers of Parameters
Date Fri, 29 Mar 2019 06:22:00 GMT

    [ https://issues.apache.org/jira/browse/WW-5024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16804618#comment-16804618
] 

ASF subversion and git services commented on WW-5024:
-----------------------------------------------------

Commit 02625740952b1e673402e21d52320fe41dbda500 in struts's branch refs/heads/struts-2-5-x
from JCgH4164838Gh792C124B5
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=0262574 ]

Proposed fix for WW-5024 in the 2.5.x branch: (#343)

- NOTE: If the PR is accepted please credit Robert Hollencamp (Github @rhollencamp) for this
change
        as he found the issue, proposed a solution for 2.6 (master), and opened the JIRA.
- Updated HttpParameters, ActionMappingParametersInterceptor to prevent multi-level Parameter
wrapping from occuring.
- Added a new ActionMappingParametersInterceptorTest to verify the fix.

> HttpParameters.Builder can wrap objects in two layers of Parameters
> -------------------------------------------------------------------
>
>                 Key: WW-5024
>                 URL: https://issues.apache.org/jira/browse/WW-5024
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Value Stack
>    Affects Versions: 2.5.20
>            Reporter: Robert Hollencamp
>            Priority: Major
>
> Parameters added to ActionMapping can end up wrapped in Parameter twice



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message