Skip to content

Commit

Permalink
missed this in the conversion from web.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Dirolf committed Aug 7, 2009
1 parent 88f7f7f commit e069ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion status/views.py
Expand Up @@ -49,7 +49,7 @@ def index(request, page=0):
# Only accept appropriate file extensions
if not filename.endswith((".jpg", ".JPG", ".jpeg", ".JPEG", ".png",
".PNG", ".bmp", ".BMP", ".gif", ".GIF")):
raise web.seeother("/")
return HttpResponseRedirect("/")

message["image"] = filename

Expand Down

0 comments on commit e069ab7

Please sign in to comment.