This is an automated email from the ASF dual-hosted git repository.
lidongdai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/seatunnel-website.git
The following commit(s) were added to refs/heads/main by this push:
new cf2ebe372ba4 [Hotfix] Fix CSP violation for Google Translate (#432)
cf2ebe372ba4 is described below
commit cf2ebe372ba4059d09fbf8d8b8de98886be6efe7
Author: zoo-code <[email protected]>
AuthorDate: Sat Feb 28 11:22:03 2026 +0900
[Hotfix] Fix CSP violation for Google Translate (#432)
---
.htaccess | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.htaccess b/.htaccess
index 2549e58a3017..14e5371446ad 100644
--- a/.htaccess
+++ b/.htaccess
@@ -2,8 +2,8 @@ ErrorDocument 404 /404.html
<IfModule mod_headers.c>
Header set Content-Security-Policy "default-src 'self' data: blob:
*.apache.org *.kapa.ai *.githubusercontent.com *.googleapis.com *.google.com
*.run.app *.gstatic.com *.github.com https://hcaptcha.com
https://*.hcaptcha.com *.apachecon.com *.communityovercode.org 'unsafe-inline'
'unsafe-eval'; \
-script-src 'self' 'unsafe-inline' 'unsafe-eval' widget.kapa.ai www.google.com
https://hcaptcha.com https://*.hcaptcha.com https://www.gstatic.com; \
-connect-src 'self' proxy.kapa.ai kapa-widget-proxy-la7dkmplpq-uc.a.run.app
metrics.kapa.ai *.algolia.net *.algolianet.com https://hcaptcha.com
https://*.hcaptcha.com www.google.com; \
+script-src 'self' 'unsafe-inline' 'unsafe-eval' widget.kapa.ai www.google.com
translate.google.com translate.googleapis.com https://hcaptcha.com
https://*.hcaptcha.com https://www.gstatic.com; \
+connect-src 'self' proxy.kapa.ai kapa-widget-proxy-la7dkmplpq-uc.a.run.app
metrics.kapa.ai *.algolia.net *.algolianet.com https://hcaptcha.com
https://*.hcaptcha.com www.google.com translate.googleapis.com; \
frame-src 'self' * www.google.com https://hcaptcha.com https://*.hcaptcha.com;
\
frame-ancestors 'self' *.google.com; \
worker-src 'self' data: blob:; \