Skip to content
Snippets Groups Projects
Commit 967b7947 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Add the default-src

parent c82d6e51
Branches
No related tags found
No related merge requests found
......@@ -189,7 +189,7 @@ class OC_Template{
header('X-Frame-Options: Sameorigin'); // Disallow iFraming from other domains
header('X-XSS-Protection: 1; mode=block'); // Enforce browser based XSS filters
header('X-Content-Type-Options: nosniff'); // Disable sniffing the content type for IE
header('Content-Security-Policy: script-src \'self\' \'unsafe-inline\'; object-src \'self\''); // Disallow external JS/Flash + eval()
header('Content-Security-Policy: default-src \'self\'; script-src \'self\' \'unsafe-inline\'; style-src \'self\' \'unsafe-inline\''); // Disallow external ressources + eval()
$this->findTemplate($name);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment