Hello list,
would it be better to default this value to 255 ? This is what most
databases are doing. I'm asking this question cause this might be a
entry point for DoS attacks in most applications. To avoid this, every
Validate annotation must be provided with the maxlength value 255
which is not convention over configuration and will cost a lot of time
in a big project. For fields which needs to be longer the maxlength
value can be defined so this change would not limit the maxlength
generally.

Thanks,
Richard

-- 
Richard Hauswald
Blog: http://tnfstacc.blogspot.com/
LinkedIn: http://www.linkedin.com/in/richardhauswald
Xing: http://www.xing.com/profile/Richard_Hauswald

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to