This is an automated email from the ASF dual-hosted git repository.

shahar pushed a commit to branch fix-content-security-policy
in repository https://gitbox.apache.org/repos/asf/airflow-site.git

commit db9a90435cc14bce918a6cade61bfa236deb5593
Author: Shahar Epstein <[email protected]>
AuthorDate: Sat Dec 27 12:42:05 2025 +0200

    Fix content security policy
---
 sphinx_airflow_theme/sphinx_airflow_theme/layout.html | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sphinx_airflow_theme/sphinx_airflow_theme/layout.html 
b/sphinx_airflow_theme/sphinx_airflow_theme/layout.html
index cad3911e2a..a3a2eb61c5 100644
--- a/sphinx_airflow_theme/sphinx_airflow_theme/layout.html
+++ b/sphinx_airflow_theme/sphinx_airflow_theme/layout.html
@@ -257,6 +257,7 @@
         <meta http-equiv="Content-Type" content="text/html; charset={{ 
encoding }}" />
     {%- endif %}
     <meta name="viewport" content="width=device-width, initial-scale=1">
+    <meta http-equiv="Content-Security-Policy" content="default-src 'self' 
data: blob: 'unsafe-inline' 'unsafe-eval' https://www.apachecon.com/ 
https://www.communityovercode.org/ https://*.apache.org/ https://apache.org/ 
https://*.scarf.sh/; font-src 'self' https://fonts.gstatic.com data:;">
     {{- metatags }}
     {%- block htmltitle %}
         <title>{{ title|striptags|e }}{{ titlesuffix }}</title>

Reply via email to