From: Christopher Allan Webber Date: Mon, 6 Jun 2011 12:57:05 +0000 (-0500) Subject: Added a comment to clarify that this shouldn't stay here. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fe4ffb860fcf211406861a726c64439435964f4c;p=mediagoblin.git Added a comment to clarify that this shouldn't stay here. --- 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: