Skip to content

Commit

Permalink
Security Hole comment
Browse files Browse the repository at this point in the history
  • Loading branch information
georgevreilly committed Feb 2, 2013
1 parent bf1f3cc commit 1ec577c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Expand Up @@ -4,8 +4,9 @@

flask_app = create_app(settings)

# Security Hole!
if flask_app.config['DEBUG']:
flask_app.debug = True
flask_app = DebuggedApplication(flask_app, evalex=True)
flask_app = DebuggedApplication(flask_app, evalex=True)

app = flask_app

0 comments on commit 1ec577c

Please sign in to comment.