You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by go...@apache.org on 2025/01/25 21:59:50 UTC
(airflow-site) branch fix-youtube-csp created (now 0a8a800972)
This is an automated email from the ASF dual-hosted git repository.
gopidesu pushed a change to branch fix-youtube-csp
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
at 0a8a800972 Set csp headers for YouTube
This branch includes the following new commits:
new 0a8a800972 Set csp headers for YouTube
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(airflow-site) 01/01: Set csp headers for YouTube
Posted by go...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
gopidesu pushed a commit to branch fix-youtube-csp
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
commit 0a8a8009720048166440251c536d0de9b28cf483
Author: Pavan Kumar <go...@gmail.com>
AuthorDate: Sat Jan 25 21:58:31 2025 +0000
Set csp headers for YouTube
---
landing-pages/site/static/.htaccess | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/landing-pages/site/static/.htaccess b/landing-pages/site/static/.htaccess
index 428ea326df..23625847fa 100644
--- a/landing-pages/site/static/.htaccess
+++ b/landing-pages/site/static/.htaccess
@@ -39,3 +39,7 @@ RedirectMatch Permanent ^/docs/apache-airflow/(stable|2\.[0-9.]+)/howto/operator
RedirectMatch Permanent ^/docs/apache-airflow/(stable|2\.[0-9.]+)/howto/operator/gcp/vision.html "https://airflow.apache.org/docs/apache-airflow-providers-google/stable/operators/cloud/vision.html"
RedirectMatch Permanent ^/docs/apache-airflow/(stable|2\.[0-9.]+)/howto/operator/papermill.html "https://airflow.apache.org/docs/apache-airflow-providers-papermill/stable/operators.html"
RedirectMatch Permanent ^/docs/apache-airflow/(stable|2\.[0-9.]+)/profiling.html "https://github.com/apache/airflow/blob/master/UPDATING.md"
+
+# 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"