summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index 0975e32ae..bbba125c1 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -264,6 +264,9 @@ $format = $template->get_format("bug/create/created",
# don't leak the enter_bug format param to show_bug
$cgi->delete('format');
+if ($user->setting('ui_experiments') eq 'on') {
+ Bugzilla->cgi->content_security_policy(Bugzilla::CGI::SHOW_BUG_MODAL_CSP());
+}
print $cgi->header();
$template->process($format->{'template'}, $vars)
|| ThrowTemplateError($template->error());