This is an automated email from the ASF dual-hosted git repository. pjfanning pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/poi.git
commit d96f509e1b0709d9ecb5b058ac6202a383a70391 Author: PJ Fanning <[email protected]> AuthorDate: Tue Jul 8 12:12:02 2025 +0100 Update .htaccess --- content/.htaccess | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/.htaccess b/content/.htaccess index 3791e10710..3dbd1b9d62 100644 --- a/content/.htaccess +++ b/content/.htaccess @@ -27,9 +27,9 @@ RewriteRule ^apidocs/(overview*)$ /apidocs/dev/$1 [R=permanent] # Security Headers Header set Strict-Transport-Security "max-age=31536000" # long term CSP header but not detailed enough -Header set Content-Security-Policy "frame-src 'self'" +# Header set Content-Security-Policy "frame-src 'self'" # CSP header based on the default applied by ASF Infra team -# Header set Content-Security-Policy "default-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://www.apachecon.com/ https://www.communityovercode.org/ https://*.apache.org/ https://apache.org/ https://*.scarf.sh/ ; script-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://www.apachecon.com/ https://www.communityovercode.org/ https://*.apache.org/ https://apache.org/ https://*.scarf.sh/ ; style-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://www.apachecon. [...] +Header set Content-Security-Policy "default-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://www.apachecon.com/ https://www.communityovercode.org/ https://*.apache.org/ https://apache.org/ https://*.scarf.sh/ ; script-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://www.apachecon.com/ https://www.communityovercode.org/ https://*.apache.org/ https://apache.org/ https://*.scarf.sh/ ; style-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://www.apachecon.co [...] Header always set X-Frame-Options SAMEORIGIN Header set X-Content-Type-Options nosniff Header set X-XSS-Protection "1; mode=block" --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
