fix for quoted cspheader

This commit is contained in:
Bryan Black 2020-08-25 18:42:47 -07:00 committed by GitHub
parent 8f737432d8
commit db98ff9cc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,7 +101,7 @@ icon = {{ private_bin_main_icon }}
; webassembly support (used for zlib compression). You can remove it if Chrome ; 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. ; doesn't need to be supported and old browsers don't need to be warned.
{% if private_bin_main_url_shortener is not none %} {% if private_bin_main_url_shortener is not none %}
cspheader = {{ private_bin_main_cspheader }} cspheader = "{{ private_bin_main_cspheader }}"
{% else %} {% 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" ; 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 %} {% endif %}