diff options
Diffstat (limited to 'mediagoblin/submit/security.py')
-rw-r--r-- | mediagoblin/submit/security.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mediagoblin/submit/security.py b/mediagoblin/submit/security.py index db4c860d..5a06a499 100644 --- a/mediagoblin/submit/security.py +++ b/mediagoblin/submit/security.py @@ -24,6 +24,8 @@ def check_filetype(posted_file): if not guess_type(posted_file.filename) in ALLOWED: return False + # TODO: This should be handled by the processing stage. We should + # handle error detection there. try: image = image_open(posted_file.file) except IOError: |