mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
Lobby: Dashboard - small experiment for https://github.com/opnsense/core/issues/7837 inspired by the 'Refused to load the image 'data:image/svg+xml;...' message.
This commit is contained in:
parent
c9cd11c978
commit
fc5714b1de
@ -284,7 +284,7 @@ class ControllerBase extends ControllerRoot
|
||||
// set security policies
|
||||
$policies = array(
|
||||
"default-src" => "'self'",
|
||||
"img-src" => "'self'",
|
||||
"img-src" => "'self' data: blob:",
|
||||
"script-src" => "'self' 'unsafe-inline' 'unsafe-eval'",
|
||||
"style-src" => "'self' 'unsafe-inline' 'unsafe-eval'");
|
||||
foreach ($this->content_security_policy as $policy_name => $policy_content) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user