From db98ff9cc3ff135b2e9e5fb811667340288724bc Mon Sep 17 00:00:00 2001 From: Bryan Black Date: Tue, 25 Aug 2020 18:42:47 -0700 Subject: [PATCH] fix for quoted cspheader --- templates/conf.php.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/conf.php.j2 b/templates/conf.php.j2 index 9d186e4..8a8458b 100644 --- a/templates/conf.php.j2 +++ b/templates/conf.php.j2 @@ -101,7 +101,7 @@ icon = {{ private_bin_main_icon }} ; webassembly support (used for zlib compression). You can remove it if Chrome ; doesn't need to be supported and old browsers don't need to be warned. {% if private_bin_main_url_shortener is not none %} -cspheader = {{ private_bin_main_cspheader }} +cspheader = "{{ private_bin_main_cspheader }}" {% else %} ; cspheader = "default-src 'none'; manifest-src 'self'; connect-src * blob:; script-src 'self' 'unsafe-eval'; style-src 'self'; font-src 'self'; img-src 'self' data: blob:; media-src blob:; object-src blob:; sandbox allow-same-origin allow-scripts allow-forms allow-popups allow-modals" {% endif %}