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

ianmcook pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 2c5eb6398ff Try fix Content Security Policy errors (take 4) (#598)
2c5eb6398ff is described below

commit 2c5eb6398ffc0641b65db791060b46f3188e40c1
Author: Ian Cook <[email protected]>
AuthorDate: Wed Feb 19 18:35:45 2025 -0700

    Try fix Content Security Policy errors (take 4) (#598)
---
 .htaccess | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/.htaccess b/.htaccess
index 4c140cced0c..fceb8feeb36 100644
--- a/.htaccess
+++ b/.htaccess
@@ -26,7 +26,13 @@ Redirect permanent /datafusion-python 
https://datafusion.apache.org/python
 Redirect permanent /ballista https://datafusion.apache.org/ballista
 
 # fix Safari Content Security Policy errors
-Header add Content-Security-Policy-Report-Only "default-src 'self' 
www.apache.org; \
- connect-src 'self' api.github.com; \
- style-src 'self' fonts.googleapis.com; \
- font-src 'self' fonts.gstatic.com"
+Header add Content-Security-Policy-Report-Only "default-src 'self' 
*.apache.org; \
+ connect-src 'self' *.apache.org api.github.com; \
+ font-src 'self' fonts.gstatic.com \
+ style-src 'self' fonts.googleapis.com \
+   'sha256-88sV2hhBstoYcag54b2hPpN+Oei7wd2Roz3k+RXEAfk=' \
+   'sha256-B3D8HD6PV1HtGZ5Z3qkXsN6p/LAiwBn9jehRuPkMBhQ=' \
+   'sha256-qo7STIM1L/OgU9y0De47mqod1UZFLJfTn36bRC42rfA='; \
+ script-src 'self' *.apache.org \
+   'sha256-zcLnLb0EtdHEeff3LAr93euk343CTrN0BMhlaeAD8yY=' \
+   'sha256-eeHr1PLkM55qPqkpxjBDHGtxfQf3RvEYoENHzN4IL0Q='"

Reply via email to