You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Jira)" <ji...@apache.org> on 2023/06/28 07:00:00 UTC
[jira] [Updated] (WW-3226) Add optional support to AliasInterceptor to overwrite aliased parameters
[ https://issues.apache.org/jira/browse/WW-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart updated WW-3226:
------------------------------
Fix Version/s: 6.4.0
(was: 6.2.0)
> Add optional support to AliasInterceptor to overwrite aliased parameters
> ------------------------------------------------------------------------
>
> Key: WW-3226
> URL: https://issues.apache.org/jira/browse/WW-3226
> Project: Struts 2
> Issue Type: Improvement
> Components: Core Interceptors
> Affects Versions: 2.1.8
> Reporter: Jasper Rosenberg
> Priority: Minor
> Fix For: 6.4.0
>
>
> It would be great if the AliasInterceptor could overwrite the aliased parameters rather than just inject them under different names, much like I recall staticParams supports. I suspect many, like me, were surprised to learn this wasn't how it currently behaved. It would have to be a new flag to maintain backwards compatibility.
> Alternatively, the ParametersInterceptor could be enhanced to take an optional aliases map. That would be pretty handy.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)