Add some safety features to send_file
commitc52fafa4436ca736324fb2c1d2740e2b6b9e0c28
authorAdrian Moennich <adrian.moennich@cern.ch>
Thu, 2 Jul 2015 16:10:34 +0000 (2 18:10 +0200)
committerAdrian Moennich <adrian.moennich@cern.ch>
Wed, 8 Jul 2015 14:12:48 +0000 (8 16:12 +0200)
tree1c861630d35d893473dcf7a19edc69ff46e9ad54
parenta163bd08a2706740bf1fdaf0157ca503a07ba386
Add some safety features to send_file

- csp header disabling scripts/objects from other sources (including
  inline)
- inline=False for text/html
indico/web/flask/util.py