changeset 364:8224f42ee05b

Expand BDStrike CSP to allow more styling and fonts
author IBBoard <dev@ibboard.co.uk>
date Sun, 01 Nov 2020 17:04:44 +0000
parents da783c06ab40
children f22809cba7af
files manifests/templates.pp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/manifests/templates.pp	Sun Oct 25 13:55:42 2020 +0000
+++ b/manifests/templates.pp	Sun Nov 01 17:04:44 2020 +0000
@@ -594,9 +594,9 @@
 		custom_fragment => template("privat/apache/bdstrike.fragment"),
 		csp_override => {"frame-ancestors" => "'self'"},
 		csp_report_override => {
-			"font-src" => "'self' https://fonts.gstatic.com/",
+			"font-src" => "'self' https://fonts.gstatic.com/ data:",
 			"img-src" => "'self' https://secure.gravatar.com/",
-			"style-src" => "'self' https://fonts.googleapis.com/"
+			"style-src" => "'self' https://fonts.googleapis.com/ 'unsafe-inline'"
 		},
 	}
 	$aliases = [