cli icon indicating copy to clipboard operation
cli copied to clipboard

INIT: Limit Field Length by Default in New Scaffold Modules

Open RaulBernal opened this issue 1 year ago • 0 comments

Is your feature request related to a problem or issue you encountered? Please describe. By default when Ignite scaffold a new custom module, a list in example, fields are not limited in length being a target for spam size attack.

Describe the solution you'd like I would code a function that check the inputs and reject inputs with size > X Example: https://github.com/BitCannaGlobal/bcna/pull/283

Describe alternatives you've considered Another alternative would be scaffold some "ante" code. But I'm not an expert there and I think you will find a solution for this if you considerate it could be a problem.

RaulBernal avatar Nov 16 '23 08:11 RaulBernal