2016-02-11 12:02 GMT+01:00 Greg Huber <gregh3...@gmail.com>:
> Can there be two levels on the SMI?
>
> If DMI is on and SMI is in relaxed-strict mode (false) we can leave the
>
> {1} and prefix{0}suffix in so it works.
>
> although it would be better to have some kind of regex ie
> regex:([A-Z-a-z]*) for safety plus a max length!
>
> Then if SMI is in strict mode (true) remove {1} and prefix{0}suffix so it
> will then fall back on the global/allowed-methods.
>
> Just a thought.

I thought a lot about your idea and it looks reasonable. With relaxed
SMI we can translate {0} into /[a-zA-Z]*/, where when SMI is set to
true, just drop it and based on what was defined as <allowed-method>s


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