You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by sk...@apache.org on 2024/03/19 16:42:28 UTC

(netbeans-antora) branch ebarboni-patch-1 created (now 8053595)

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

skygo pushed a change to branch ebarboni-patch-1
in repository https://gitbox.apache.org/repos/asf/netbeans-antora.git


      at 8053595  testing CSP

This branch includes the following new commits:

     new 8053595  testing CSP

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.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


(netbeans-antora) 01/01: testing CSP

Posted by sk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch ebarboni-patch-1
in repository https://gitbox.apache.org/repos/asf/netbeans-antora.git

commit 80535950c930daf82180d7a5cf45cba806389dba
Author: Eric Barboni <sk...@apache.org>
AuthorDate: Tue Mar 19 17:42:24 2024 +0100

    testing CSP
---
 supplemental-ui/.htaccess | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/supplemental-ui/.htaccess b/supplemental-ui/.htaccess
index b7952dc..7b69aae 100644
--- a/supplemental-ui/.htaccess
+++ b/supplemental-ui/.htaccess
@@ -1,5 +1,11 @@
 DirectoryIndex index.html index.asciidoc
 
+## set a policy to allow youtube.com video (avideo block macro reladed + wip)
+<IfModule mod_headers.c>
+Header set Content-Security-Policy "frame-src 'self' https://www.youtube.com "
+</IfModule>
+
+
 # download from incubation
 Redirect 302 /download/9.0-beta/source https://archive.apache.org/dist/incubator/netbeans/incubating-netbeans-java/incubating-9.0-beta/incubating-netbeans-java-9.0-beta-source.zip
 Redirect 302 /download/9.0-beta/binary https://archive.apache.org/dist/incubator/netbeans/incubating-netbeans-java/incubating-9.0-beta/incubating-netbeans-java-9.0-beta-bin.zip


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists