Remove the CSP header for Firefox
https://bugzilla.mozilla.org/show_bug.cgi?id=737064 *gnarf*
This commit is contained in:
parent
0d6a577481
commit
a65410f23c
|
@ -195,7 +195,6 @@ class OC_Template{
|
|||
$policy = OC_Config::getValue('custom_csp_policy', 'default-src \'self\'; script-src \'self\' \'unsafe-eval\'; style-src \'self\' \'unsafe-inline\'; frame-src *; img-src *');
|
||||
header('Content-Security-Policy:'.$policy); // Standard
|
||||
header('X-WebKit-CSP:'.$policy); // Older webkit browsers
|
||||
header('X-Content-Security-Policy:'.$policy); // Mozilla + Internet Explorer
|
||||
|
||||
$this->findTemplate($name);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue