summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-02-04 18:43:26 +0100
committerLukas Reschke <lukas@statuscode.ch>2013-02-04 18:43:26 +0100
commit5fcb35efd606364eb8530880e62d8d3094b9c1f4 (patch)
treeecd11e4b4ce962aa426cc3d59a617d19507b7095 /lib
parentbb90b0ee6e42be748309d56040a4c41add32edc9 (diff)
downloadnextcloud-server-5fcb35efd606364eb8530880e62d8d3094b9c1f4.tar.gz
nextcloud-server-5fcb35efd606364eb8530880e62d8d3094b9c1f4.zip
Also allow local files
Diffstat (limited to 'lib')
-rw-r--r--lib/template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/template.php b/lib/template.php
index be65d14a9f6..fb9f7ad62d9 100644
--- a/lib/template.php
+++ b/lib/template.php
@@ -192,7 +192,7 @@ class OC_Template{
// Content Security Policy
// If you change the standard policy, please also change it in config.sample.php
- $policy = OC_Config::getValue('custom_csp_policy', 'default-src \'self\'; script-src \'self\' \'unsafe-eval\'; style-src \'self\' \'unsafe-inline\'; frame-src *; img-src *; font-src data:');
+ $policy = OC_Config::getValue('custom_csp_policy', 'default-src \'self\'; script-src \'self\' \'unsafe-eval\'; style-src \'self\' \'unsafe-inline\'; frame-src *; img-src *; font-src \'self\' data:');
header('Content-Security-Policy:'.$policy); // Standard
header('X-WebKit-CSP:'.$policy); // Older webkit browsers