You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2019/12/17 08:09:15 UTC
[camel-website] branch master updated: fix: CSP allow embedding
from youtube
This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/master by this push:
new 403a37d fix: CSP allow embedding from youtube
403a37d is described below
commit 403a37daf8cf8a89b0d214bee239d9235bb1134f
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Tue Dec 17 09:09:11 2019 +0100
fix: CSP allow embedding from youtube
---
static/.htaccess | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/static/.htaccess b/static/.htaccess
index b627675..01f74b7 100644
--- a/static/.htaccess
+++ b/static/.htaccess
@@ -1323,7 +1323,7 @@ AddDefaultCharset utf-8
<IfModule mod_headers.c>
# (1) (2) (3) (4) (5)
- Header set Content-Security-Policy "default-src 'self'; base-uri 'none'; form-action 'self'; frame-ancestors 'none' https://www.youtube.com/; upgrade-insecure-requests" "expr=%{CONTENT_TYPE} =~ m#text/html#i"
+ Header set Content-Security-Policy "default-src 'self' https://www.youtube.com/; base-uri 'none'; form-action 'self'; frame-ancestors 'none'; upgrade-insecure-requests" "expr=%{CONTENT_TYPE} =~ m#text/html#i"
</IfModule>
# ----------------------------------------------------------------------