#33942: file validator
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
rzashakeri |
Type: New | Status: new
feature |
Component: File | Version: 4.0
uploads/storage | Keywords: file-validator,
Severity: Normal | file, validator
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
There is a file validator in Django, but it only validates files using the
extension, which is not very reliable. According to the documentation, I
wrote a file validator that checks the magic numbers (mimes) of the files,
and it is more reliable and reliable with It supports the use of native
Python libraries and many mimes
I also created a Python
[file_validator](https://github.com/rzashakeri/file_validator) library
where, in addition to the Python library, three third-party libraries also
perform validation operations.
--
Ticket URL: <https://code.djangoproject.com/ticket/33942>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070182b8d1ceb2-e070e4ea-ff73-42c0-a72e-e310f7e3d8ee-000000%40eu-central-1.amazonses.com.