IV1T3 / django-middleware-fileuploadvalidation

A Django middleware to validate user file uploads and detect malicious content.
Apache License 2.0
6 stars 2 forks source link

Perform guess_mime_type_and_maliciousness() in each individual function #23

Closed IV1T3 closed 2 years ago

IV1T3 commented 2 years ago

Instead of having one large validation/basic.py:guess_mime_type_and_maliciousness(), it would be useful to aggregate the guessing_scores in each individual function in which the required information has been collected.