summaryrefslogtreecommitdiffstats
path: root/chart.cgi
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-02-21 19:59:53 +0100
committerGitHub <noreply@github.com>2018-02-21 19:59:53 +0100
commitd435e0a5b0e07c145f929457313d8d7738f42b14 (patch)
tree7ed248a0637b8fcf09380658ad731a0a79cbe600 /chart.cgi
parentc0d4e47a7b543ab406eeee414ae9baf228b43ce4 (diff)
downloadbugzilla-d435e0a5b0e07c145f929457313d8d7738f42b14.tar.gz
bugzilla-d435e0a5b0e07c145f929457313d8d7738f42b14.tar.xz
Bug 1439797 - Enable reporting-only CSP by default
Diffstat (limited to 'chart.cgi')
-rwxr-xr-xchart.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/chart.cgi b/chart.cgi
index 26f21c389..36357cb3c 100755
--- a/chart.cgi
+++ b/chart.cgi
@@ -51,6 +51,7 @@ local our $cgi = Bugzilla->cgi;
local our $template = Bugzilla->template;
local our $vars = {};
my $dbh = Bugzilla->dbh;
+$cgi->content_security_policy(report_only => 0);
my $user = Bugzilla->login(LOGIN_REQUIRED);