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

[ENHANCEMENT] Limit provide description field max length #629

Open
fershad opened this issue Dec 24, 2024 · 0 comments · May be fixed by #630
Open

[ENHANCEMENT] Limit provide description field max length #629

fershad opened this issue Dec 24, 2024 · 0 comments · May be fixed by #630

Comments

@fershad
Copy link
Contributor

fershad commented Dec 24, 2024

Currently, anyone submitting a verification request can write a suuuuuuuuuuuppppper long description of their company. These are visible by default on the Directory, and could be used for keyword stuffing/sales & marketing ... which isn't the purpose of our Directory.

Proposed solution

Limit the length of content that can entered into the description form field in a provider update/verification request. Picking an number out of the sky, 1000 seems like a reasonable character limit.

This would be a frontend validation, and would should stop the form from submitting. However, because we're using a multi-step form, I'm not sure how that would work - does the user have to go through all the steps before they'd get an error for the description being too long on submission?

@fershad fershad linked a pull request Dec 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant