Skip to content

INIT: Limit Field Length by Default in New Scaffold Modules #3757

@RaulBernal

Description

@RaulBernal

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.

Metadata

Metadata

Assignees

Labels

component:scaffoldFeature, enhancement, or refactor related to scaffolding.type:newTo implement new feature.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions