summaryrefslogtreecommitdiffstats
path: root/lib/template.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-01-25 21:57:24 +0100
committerLukas Reschke <lukas@statuscode.ch>2013-01-25 21:57:51 +0100
commita65410f23ce0067677fe24143b024e2e0327362e (patch)
tree2a6326909296ae6a3ff6616ee656207e53c9865c /lib/template.php
parent0d6a577481f41128d5091b4d624d119ca4ac05de (diff)
downloadnextcloud-server-a65410f23ce0067677fe24143b024e2e0327362e.tar.gz
nextcloud-server-a65410f23ce0067677fe24143b024e2e0327362e.zip
Remove the CSP header for Firefox
https://bugzilla.mozilla.org/show_bug.cgi?id=737064 *gnarf*
Diffstat (limited to 'lib/template.php')
-rw-r--r--lib/template.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/template.php b/lib/template.php
index da757a08662..238d8a8ad0f 100644
--- a/lib/template.php
+++ b/lib/template.php
@@ -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);
}