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

Allow iframes to external domains

parent 82231175
No related branches found
No related tags found
No related merge requests found
......@@ -189,8 +189,8 @@ 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: default-src \'self\'; style-src \'self\' \'unsafe-inline\'');
header('X-WebKit-CSP: default-src \'self\'; style-src \'self\' \'unsafe-inline\'');
header('Content-Security-Policy: default-src \'self\'; style-src \'self\' \'unsafe-inline\'; frame-src *');
header('X-WebKit-CSP: default-src \'self\'; style-src \'self\' \'unsafe-inline\'; frame-src *');
$this->findTemplate($name);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment