From 293e7bdcf0b9769a1aaa240b5d61bc20e3673d78 Mon Sep 17 00:00:00 2001
From: Lukas Reschke <lukas@statuscode.ch>
Date: Wed, 23 Jan 2013 13:44:43 +0100
Subject: [PATCH] Notice about changing the standard policy

---
 lib/template.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/template.php b/lib/template.php
index 96ca2c8afb..a545d91f3c 100644
--- a/lib/template.php
+++ b/lib/template.php
@@ -191,6 +191,7 @@ class OC_Template{
 		header('X-Content-Type-Options: nosniff'); // Disable sniffing the content type for IE
 
 		// 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 *');
 		header('Content-Security-Policy:'.$policy); // Standard
 		header('X-WebKit-CSP:'.$policy); // Older webkit browsers
-- 
GitLab