CSP: content security policies are safe

master
justcool393 2022-10-21 17:31:31 -05:00
parent 0495d00629
commit 2792a06c21
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@
{% macro meta_tags_1(csp, author, exclude_author) %} {% macro meta_tags_1(csp, author, exclude_author) %}
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="description" content="{{DESCRIPTION}}"> <meta name="description" content="{{DESCRIPTION}}">
<meta http-equiv="Content-Security-Policy" content="{{csp | default(CONTENT_SECURITY_POLICY_DEFAULT, true)}}"> <meta http-equiv="Content-Security-Policy" content="{{csp | default(CONTENT_SECURITY_POLICY_DEFAULT, true) | safe}}">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="thumbnail" content="{{'site_preview.webp' | asset_siteimg}}"> <meta name="thumbnail" content="{{'site_preview.webp' | asset_siteimg}}">
{% if not exclude_author %} {% if not exclude_author %}