summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-01-26 18:54:38 +0100
committerDylan William Hardison <dylan@hardison.net>2017-01-26 18:54:38 +0100
commite3209457f2d4a6a134d73d0f0e5069ccfc8f88d0 (patch)
treed337d7b23ebe2faeda8168faccbe6fc33b7a2aa3 /post_bug.cgi
parentc768148f9facf779d572145236453e50e99bee1d (diff)
downloadbugzilla-e3209457f2d4a6a134d73d0f0e5069ccfc8f88d0.tar.gz
bugzilla-e3209457f2d4a6a134d73d0f0e5069ccfc8f88d0.tar.xz
Bug 1334158 - Lightbox images CSP error on bug modal
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index bbba125c1..238ff6e1a 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -265,7 +265,7 @@ $format = $template->get_format("bug/create/created",
$cgi->delete('format');
if ($user->setting('ui_experiments') eq 'on') {
- Bugzilla->cgi->content_security_policy(Bugzilla::CGI::SHOW_BUG_MODAL_CSP());
+ Bugzilla->cgi->content_security_policy(Bugzilla::CGI::SHOW_BUG_MODAL_CSP($bug->id));
}
print $cgi->header();
$template->process($format->{'template'}, $vars)