Commit af4f1239 authored by Xavier Guimard's avatar Xavier Guimard

Fix cspScrip (Closes: #1683)

parent 99afd724
......@@ -181,7 +181,7 @@ sub reloadConf {
# Initialize content-security-policy header
my $csp = '';
foreach (qw(default img src style font connect)) {
foreach (qw(default img src style font connect script)) {
my $prm = $self->conf->{ 'csp' . ucfirst($_) };
$csp .= "$_-src $prm;" if ($prm);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment