From: Hendrik B. <nh...@us...> - 2013-08-25 12:07:33
|
Update of /cvsroot/arianne/stendhal_website/content/association In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6866/content/association Modified Files: edit.php Log Message: fixed inline rules on editor page Index: edit.php =================================================================== RCS file: /cvsroot/arianne/stendhal_website/content/association/edit.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** edit.php 25 Aug 2013 12:06:33 -0000 1.19 --- edit.php 25 Aug 2013 12:07:29 -0000 1.20 *************** *** 30,34 **** } $csp = "* data: 'self' 'unsafe-inline' 'unsafe-eval' https://sflogo.sourceforge.net http://sflogo.sourceforge.net"; ! $csp = "default-src '.$csp.'; style-src '.$csp.'; script-src '.$csp.'; report-uri /?id=content/scripts/cspreport"; header("Content-Security-Policy: ". $csp, true); return true; --- 30,34 ---- } $csp = "* data: 'self' 'unsafe-inline' 'unsafe-eval' https://sflogo.sourceforge.net http://sflogo.sourceforge.net"; ! $csp = "default-src ".$csp."; style-src ".$csp."; script-src ".$csp."; report-uri /?id=content/scripts/cspreport"; header("Content-Security-Policy: ". $csp, true); return true; |