czw., 21 sty 2021 o 07:44 Greg Huber <gregh3...@gmail.com> napisał(a):
> Looking more into it, the DMI stuff with respect to the
> ParametersInterceptor is work in progress,  I tried various ways to
> suppress the warnings, but something extra needs to be done, ie the
> parameter 'action:myAction!save' should not really be considered a
> bean/ognl parameter, more system level as its associated with the page
> submission mechanism.

It should be possible to filter out such parameters, your action must
implement `ParameterNameAware` interface and then it can control which
parameters can be accepted.
Also you can define `struts.additional.excludedPatterns` as
`action:.*` and that also should solve the problem.

Yet I think we should update DefaultExcludedPatternsChecker and
exclude `action:` by default.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to