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

SECURITY: Limit user profile field length #18302

Merged
merged 2 commits into from Sep 21, 2022

Conversation

martin-brennan
Copy link
Contributor

Adds limits to location and website fields at model and DB level to match the bio_raw field limits. A limit cannot be added at the DB level for bio_raw because it is a postgres text field.

Adds limits to location and website fields at model and DB level to match the bio_raw field limits. A
limit cannot be added at the DB level for bio_raw because it is a postgres text field.
Co-authored-by: Alan Guo Xiang Tan <gxtan1990@gmail.com>
@martin-brennan
Copy link
Contributor Author

@tgxworld agree with the reviews, made a commit to address 👍

@martin-brennan martin-brennan merged commit e69f7d2 into main Sep 21, 2022
10 of 11 checks passed
@martin-brennan martin-brennan deleted the security/limit-profile-field-lengths branch September 21, 2022 02:07
martin-brennan added a commit that referenced this pull request Sep 21, 2022
Adds limits to location and website fields at model and DB level
to match the bio_raw field limits. A limit cannot be added at the
DB level for bio_raw because it is a postgres text field.

Co-authored-by: Alan Guo Xiang Tan <gxtan1990@gmail.com>
martin-brennan added a commit that referenced this pull request Sep 21, 2022
Adds limits to location and website fields at model and DB level
to match the bio_raw field limits. A limit cannot be added at the
DB level for bio_raw because it is a postgres text field.

Co-authored-by: Alan Guo Xiang Tan <gxtan1990@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants