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

Option to limit File Types #39

Open
cab10 opened this issue Sep 17, 2018 · 3 comments
Open

Option to limit File Types #39

cab10 opened this issue Sep 17, 2018 · 3 comments
Labels
enhancement New feature or request

Comments

@cab10
Copy link

cab10 commented Sep 17, 2018

There is no option to limit file types. For example only allow images (jpg, png, gif) or only allow images and videos. Would be nice if it checks the file extension and mime type.

@ojamin ojamin added the enhancement New feature or request label Jul 19, 2019
@prawnsalad
Copy link
Member

@cab10 what was the use case for limiting file types? Right now I can't think why this would want to be implemented

@cab10
Copy link
Author

cab10 commented Aug 25, 2019

I don't want that executables are shared on my server

@prawnsalad
Copy link
Member

@cab10 we can't limit the specific file type from the browser. Anyone could rename a .exe to a .jpg and it would still be uploaded.

If executable files are uploaded to your server they can't be executed on the server, if that's your concern?

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

3 participants