raboof commented on code in PR #602:
URL: https://github.com/apache/kafka-site/pull/602#discussion_r1607763188


##########
.htaccess:
##########
@@ -10,3 +10,4 @@ RewriteRule ^/?(\d+)/javadoc - [S=2]
 RewriteRule ^/?(\d+)/images/ - [S=1]
 RewriteCond $2 !=protocol
 RewriteRule ^/?(\d+)/([a-z]+)(\.html)? /$1/documentation#$2 [R=302,L,NE]
+Header set Content-Security-Policy "frame-src youtube.com www.youtube.com"

Review Comment:
   Maybe restrict it to https:
   
   ```suggestion
   Header set Content-Security-Policy "frame-src https://youtube.com 
https://www.youtube.com";
   ```
   
   ... but seems reasonable to me.



-- 
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: dev-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to