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

[FEATURE]: Add sanity checks for file extensions for avatars (warden registration) #5509

Open
SamusElderg opened this issue Nov 14, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@SamusElderg
Copy link
Collaborator

SamusElderg commented Nov 14, 2022

Problem / opportunity:

When users created a Warden application they are able to upload undesired file formats for their avatar such as .webp

Desired outcome

Extend the checks and prevent/warn if users try to upload an undesired image format such as .webp.
Maybe for simplicity's sake, only allow png and jpg and have a max filesize check too

Another opp

We should add a sanity check for new c4 usernames and make sure they are over say 6 characters in length. The shorter names like 'pp' or '1234' can easily be duplicates and cause confusion, this would reduce that likelihood significantly

@SamusElderg SamusElderg added the enhancement New feature or request label Nov 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant