You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 31, 2022. It is now read-only.
Is your feature request related to a problem? Please describe.
At this moment you can deny what files are uploaded by the uploads.forbid configuration option. Most of the time applications have a really limited scope of files they want to process. Adding an uploads.allow_only option would improve server security by a lot because the user only needs to know what he wants to support.
Describe the solution you'd like
Have a config option like the following, to only support uploading a limited set:
# File uploading settings.
uploads:
# Allow only files with the following extensions to upload. This will overrule the `forbid` config option when not empty
#
# Default: []
allow_only: [".jpg", ".png", ".doc", ".docx"]
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
At this moment you can deny what files are uploaded by the
uploads.forbid
configuration option. Most of the time applications have a really limited scope of files they want to process. Adding anuploads.allow_only
option would improve server security by a lot because the user only needs to know what he wants to support.Describe the solution you'd like
Have a config option like the following, to only support uploading a limited set:
The text was updated successfully, but these errors were encountered: