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

niallp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/privacy-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 054d61c  Clarify CSP exceptions needed by examples (#64)
054d61c is described below

commit 054d61c4705f0aa999dffb809bdf88e6edc108eb
Author: Sebb <[email protected]>
AuthorDate: Fri Nov 21 17:36:09 2025 +0000

    Clarify CSP exceptions needed by examples (#64)
---
 examples/youtube-html/.htaccess                | 2 ++
 examples/youtube-html/with-youtube-api.html    | 2 +-
 examples/youtube-html/with-youtube-embeds.html | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/examples/youtube-html/.htaccess b/examples/youtube-html/.htaccess
index f61f7a2..7df3bc9 100644
--- a/examples/youtube-html/.htaccess
+++ b/examples/youtube-html/.htaccess
@@ -1,3 +1,5 @@
 # Allow loading YouTube content after ensuring consent.
 # Additional allowances to be coordinated with privacy team
+# https://www.youtube-nocookie.com is needed for with-youtube-embeds.html
+# https://www.youtube.com is needed for with-youtube-api.html
 SetEnv CSP_PROJECT_DOMAINS "https://www.youtube-nocookie.com 
https://www.youtube.com"; 
diff --git a/examples/youtube-html/with-youtube-api.html 
b/examples/youtube-html/with-youtube-api.html
index a7979be..f2f17b2 100644
--- a/examples/youtube-html/with-youtube-api.html
+++ b/examples/youtube-html/with-youtube-api.html
@@ -55,7 +55,7 @@
                <pre>
                    # Allow loading YouTube content after ensuring consent.
                    # Additional allowances to be coordinated with privacy team
-                   SetEnv CSP_PROJECT_DOMAINS 
"https://www.youtube-nocookie.com https://www.youtube.com"; 
+                   SetEnv CSP_PROJECT_DOMAINS "https://www.youtube.com"; 
                </pre>
        </div>
         <h2>Pelican</h2>
diff --git a/examples/youtube-html/with-youtube-embeds.html 
b/examples/youtube-html/with-youtube-embeds.html
index ddcabab..a85fef1 100644
--- a/examples/youtube-html/with-youtube-embeds.html
+++ b/examples/youtube-html/with-youtube-embeds.html
@@ -70,7 +70,7 @@
                <pre>
                    # Allow loading YouTube content after ensuring consent.
                    # Additional allowances to be coordinated with privacy team
-                   SetEnv CSP_PROJECT_DOMAINS 
"https://www.youtube-nocookie.com https://www.youtube.com"; 
+                   SetEnv CSP_PROJECT_DOMAINS 
"https://www.youtube-nocookie.com"; 
                </pre>
        </div>
             </body>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to