struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: [GitHub] struts pull request: WW-4540: Strict DMI
Date Wed, 02 Sep 2015 07:09:00 GMT
2015-09-01 12:41 GMT+02:00 Greg Huber <gregh3269@gmail.com>:
> The same way interceptors are configured, something like:
>
> <param name="includeMethods">publish*</param>
>
> public String publish() {..}
> public String publishNow() {..}

but maybe instead of such simple definition it'd be better to allow
specify very strict regex, ie:

<allowed-methods>regex:publish(([A-Z]?)([a-z]+)?)</allowed-methods>

wdyt?


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
View raw message