This is an automated email from the ASF dual-hosted git repository.
skygo pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 615cdec97 CSP take 2
615cdec97 is described below
commit 615cdec97b7d3ee1401e227d547e66d106407037
Author: Eric Barboni <[email protected]>
AuthorDate: Fri Feb 23 11:26:29 2024 +0100
CSP take 2
---
.htaccess | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.htaccess b/.htaccess
index 626689dbe..4510d1f98 100644
--- a/.htaccess
+++ b/.htaccess
@@ -112,7 +112,7 @@ RewriteRule ^favicon-32x32\.png$
https://netbeans.apache.org/_/images/fav/favic
ErrorDocument 404 /front/main/404.html
#allow youtube video
-Header merge Content-Security-Policy "frame-src youtube.com
https://www.youtube.com;"
+Header set Content-Security-Policy "frame-src 'self' youtube.com
https://www.youtube.com;"
# Enable rewrite engine to redirect 404 pages to old netbeans.org
(137.254.56.26)
# RewriteEngine On
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists