Allow plugins to override CSP rules

This commit is contained in:
Frederic Guillot
2015-10-10 18:59:06 -04:00
parent e3521db6a8
commit 0e233673e3
4 changed files with 34 additions and 2 deletions

View File

@@ -126,5 +126,7 @@ class ClassProvider implements ServiceProviderInterface
};
$container['pluginLoader'] = new Loader($container);
$container['cspRules'] = array('style-src' => "'self' 'unsafe-inline'", 'img-src' => '* data:');
}
}