mbien commented on code in PR #15: URL: https://github.com/apache/netbeans-antora/pull/15#discussion_r1531632753
########## 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> Review Comment: the CSP is usually one long String. For example my old blog uses this: ```html <meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src *; base-uri 'self'; connect-src 'self'; form-action 'self'; frame-ancestors 'none'"> ``` So my question is what happens to the rest of the options if you set only `frame-src` but nothing else? This could cause other things to fail dependent on what the defaults are - I don't know unfortunately. cc @vieiro -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- 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
