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

sanity check of file type #25

Open
not-a-feature opened this issue Mar 29, 2021 · 0 comments
Open

sanity check of file type #25

not-a-feature opened this issue Mar 29, 2021 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@not-a-feature
Copy link
Collaborator

Implement a sanity check of the filetype while uploading.
Save cleaned type in the database.

Affected files:

  • core/lib_classes/FileUtil.php
  • upload.php

See: https://www.php.net/manual/de/features.file-upload.post-method.php

@not-a-feature not-a-feature added bug Something isn't working enhancement New feature or request labels Mar 29, 2021
@not-a-feature not-a-feature self-assigned this Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant