Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit fields length by default at new scaffold modules #3757

Open
RaulBernal opened this issue Nov 16, 2023 · 0 comments
Open

Limit fields length by default at new scaffold modules #3757

RaulBernal opened this issue Nov 16, 2023 · 0 comments
Labels
component:scaffold Feature, enhancement, or refactor related to scaffolding. type:feature To implement new feature.
Milestone

Comments

@RaulBernal
Copy link
Contributor

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.

@salmad3 salmad3 added request Feature request. component:scaffold Feature, enhancement, or refactor related to scaffolding. labels Nov 26, 2023
@salmad3 salmad3 added type:feature To implement new feature. and removed request Feature request. labels May 29, 2024
@salmad3 salmad3 added this to the v29 milestone May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:scaffold Feature, enhancement, or refactor related to scaffolding. type:feature To implement new feature.
Projects
Status: Todo
Development

No branches or pull requests

2 participants