From e3209457f2d4a6a134d73d0f0e5069ccfc8f88d0 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Thu, 26 Jan 2017 12:54:38 -0500 Subject: Bug 1334158 - Lightbox images CSP error on bug modal --- post_bug.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'post_bug.cgi') 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) -- cgit v1.2.3-24-g4f1b