INIT: Limit Field Length by Default in New Scaffold Modules #3757
Labels
component:scaffold
Feature, enhancement, or refactor related to scaffolding.
type:new
To implement new feature.
Milestone
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:
BitCannaGlobal/bcna#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.
The text was updated successfully, but these errors were encountered: