[x] There is a corresponding issue for this pull request.
[x] My branch is up-to-date with the Upstream master branch.
[ ] The unit tests pass locally with my changes (provide a screenshot or link for test)
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)
Short description of what this resolves:
This solves most issues that will occur on check on the file uploaded
The file being saved in the server after this should only be of the files that we want to be saved
It solves any case that would occur in #384
Changes proposed in this pull request:
Separate functions for checking allowed extensions of wallpaper, etc;
A way to handle cases where the extension of the file uploaded is not allowed
Boolean condition to not run the build when extension is not allowed
Checklist
master
branch.Short description of what this resolves:
This solves most issues that will occur on check on the file uploaded The file being saved in the server after this should only be of the files that we want to be saved It solves any case that would occur in #384
Changes proposed in this pull request:
Fixes #384