Remove the CSP header for Firefox

https://bugzilla.mozilla.org/show_bug.cgi?id=737064 *gnarf*
This commit is contained in:
Lukas Reschke 2013-01-25 21:57:24 +01:00
parent 0d6a577481
commit a65410f23c
1 changed files with 0 additions and 1 deletions

View File

@ -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);
}