Add additional validation to user inputs
Is your feature request related to a problem? Please describe.
When the user is adding a new shape, there is no limit on how many characters the user can enter in the description or name fields which can lead to unsanitized and large inputs that can congest the database.
Describe the solution you'd like The solution proposed is adding a max character count to the user input, both on the backend and frontend since it is not secured on either side.
Hi @MatijaNovosel , I would like to work on this issue. Could you please guide me how to go ahead ?
Hi @MatijaNovosel , I would like to work on this issue. Could you please guide me how to go ahead ?
Hi! Are you asking me to assign the issue to you or are you asking me how to solve it? If it's the former, I'd kindly ask @atapas to assign you since I don't have a lot of spare time.
If it's the latter, for the backend I'd suggest looking here for the method that creates the shape and here for the frontend.
I suggest looking at this since the project uses react-bootstrap and Formik is easy to use.
can i take this issue??