From 5fcb35efd606364eb8530880e62d8d3094b9c1f4 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Mon, 4 Feb 2013 18:43:26 +0100 Subject: Also allow local files --- lib/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/template.php') 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 -- cgit v1.2.3