-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add file type validation for image uploads #49
Conversation
Signed-off-by: Bagwan <[email protected]>
Signed-off-by: Bagwan <[email protected]>
Signed-off-by: Bagwan <[email protected]>
Signed-off-by: Bagwan <[email protected]>
Hi @mdxabu , Thanks! |
@01bps, Did you pull the recent commit that I merged this morning? |
The commits merged today were in the main branch. This PR is directed to the dev branch and is up to date with it. Would you like me to update the branch from dev to main and make the necessary updates? |
Alright, I'll create a PR for the main branch as well. |
What:
Implemented client and server-side validation to restrict image upload types to specific formats (.jpg, .jpeg, .png, .gif, .webp, .heif and .pdf).
Why:
How:
Added client-side validation:
Added server-side validation:
User Interface Updates:
Testing:
Screenshot:
Checklist: