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

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

Open
RaulBernal opened this issue Nov 16, 2023 · 0 comments · May be fixed by #4480
Open

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

RaulBernal opened this issue Nov 16, 2023 · 0 comments · May be fixed by #4480
Assignees
Labels
component:scaffold Feature, enhancement, or refactor related to scaffolding. type:new 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 type:request Feature request. component:scaffold Feature, enhancement, or refactor related to scaffolding. labels Nov 26, 2023
@salmad3 salmad3 added type:new To implement new feature. and removed type:request Feature request. labels May 29, 2024
@salmad3 salmad3 moved this from To Discuss to Todo in Ignite CLI Masterboard May 29, 2024
@salmad3 salmad3 added this to the v29 milestone May 29, 2024
@salmad3 salmad3 changed the title Limit fields length by default at new scaffold modules INIT: Limit Field Length by Default in New Scaffold Modules Jul 19, 2024
@Pantani Pantani self-assigned this Dec 17, 2024
@Pantani Pantani moved this from Todo to Doing in Ignite CLI Masterboard Dec 17, 2024
@Pantani Pantani linked a pull request Jan 23, 2025 that will close this issue
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:new To implement new feature.
Projects
Status: Doing
Development

Successfully merging a pull request may close this issue.

3 participants