[
https://issues.apache.org/jira/browse/WW-5024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16806476#comment-16806476
]
ASF subversion and git services commented on WW-5024:
-----------------------------------------------------
Commit 3e11e1db4775a5f4f21d57f0361ea06ed06e1578 in struts's branch
refs/heads/master from JCgH4164838Gh792C124B5
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=3e11e1d ]
Forward port fix for WW-5024 to 2.6:
- 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.
- Updated HttpParameters create(), build() and buildNoNestedWrapping() to
replace redundant type operators with <> based on IDE hint.
- Made HttpParameters parameters member final based on IDE hint.
- 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
> Fix For: 2.5.21, 2.6
>
>
> Parameters added to ActionMapping can end up wrapped in Parameter twice
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)