diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-01-25 21:57:24 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-01-25 21:57:51 +0100 |
commit | a65410f23ce0067677fe24143b024e2e0327362e (patch) | |
tree | 2a6326909296ae6a3ff6616ee656207e53c9865c /lib/template.php | |
parent | 0d6a577481f41128d5091b4d624d119ca4ac05de (diff) | |
download | nextcloud-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.php | 1 |
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); } |