diff manifests/templates.pp @ 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 84c09975288b
children 5f4fc00f8189
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 = [