struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Huber <gregh3...@gmail.com>
Subject Re: [GitHub] struts pull request: WW-4540: Strict DMI
Date Thu, 03 Sep 2015 07:13:49 GMT
<allowed-methods/> per <action/> would this be on the action element in the
struts.xml?

Have you an example of the config?


On 2 September 2015 at 10:54, Lukasz Lenart <lukaszlenart@apache.org> wrote:

> 2015-09-02 10:18 GMT+02:00 Christoph Nenning <
> Christoph.Nenning@lex-com.net>:
> > In my apps I would not need to use any patterns. Just a list of methods,
> > different for each action, would be enough for me.
>
> <global-allowed-methods/> per <package/> or <allowed-methods/> per
> <action/>
>
> > What do you think about a config switch to enable/disable patterns for
> > strict-dmi-method-names ?
>
> Originally there was such switch, disabled by default. I can restore
> it back and set to true by default.
>
>
> Regards
> --
> Ɓukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message