mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Allow iframes to external domains
This commit is contained in:
parent
8223117569
commit
3ffbaf4795
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue