python - Problem with django-avatar -


i'm trying implement django-avatar in django app on production server. problem form upload images accepts every type of files! means user can upload file.php. so, thought django-avatar handle this. how can fix? want form accepts images.

the current version of django-avatar contains fix allow image uploads. version using? pypi version (currently 1.0) old , not contain updates.

download newest version https://github.com/ericflo/django-avatar


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -