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

gopidesu pushed a commit to branch airflow-test
in repository https://gitbox.apache.org/repos/asf/airflow-site.git


The following commit(s) were added to refs/heads/airflow-test by this push:
     new 4613aefab7 update Content-Security-Policy header for youtube
4613aefab7 is described below

commit 4613aefab743df22f90d72054d2e81d87a0a0f7b
Author: Pavan Kumar <[email protected]>
AuthorDate: Sat Jan 25 21:39:14 2025 +0000

    update Content-Security-Policy header for youtube
---
 .htaccess | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.htaccess b/.htaccess
index b57abde05b..e16aa5d192 100644
--- a/.htaccess
+++ b/.htaccess
@@ -2,3 +2,7 @@ RewriteEngine On
 
 RewriteCond %{REQUEST_URI} ^/docs [NC]
 RewriteRule (.*) 
http://live-docs-airflow-apache-org.s3-website.us-east-2.amazonaws.com/$1 [P]
+
+# Allow loading YouTube content after ensuring consent.
+# Additional allowances to be coordinated with privacy team
+Header set Content-Security-Policy "frame-src https://www.youtube-nocookie.com 
https://www.youtube.com";

Reply via email to