podkrepi-bg / api

Nest.js REST backend for charity platform Podkrepi.bg https://podkrepi.bg/swagger

Home Page:https://podkrepi.bg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Validate file types on upload

yg1y opened this issue · comments

commented

Which area(s) of Podkrepi.bg are affected? (leave empty if unsure)

No response

Describe the feature you'd like to request

There are several screens through which files can be uploaded. There is no limit to the types of files that can be uploaded, and potentially dangerous files can be uploaded. It would be nice to have a check on these types of files that are allowed to be uploaded.

Describe the solution you'd like

Allow only certain file types to be uploaded like .pdf, docx, .png, .jpeg, .xlsx ... and others

Describe alternatives you've considered

No response