Browse Source

Remove the CSP header for Firefox

https://bugzilla.mozilla.org/show_bug.cgi?id=737064 *gnarf*
tags/v5.0.0alpha1
Lukas Reschke 11 years ago
parent
commit
a65410f23c
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      lib/template.php

+ 0
- 1
lib/template.php 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);
}

Loading…
Cancel
Save