Author: fanningpj
Date: Sat Feb 17 19:17:15 2024
New Revision: 1915846

URL: http://svn.apache.org/viewvc?rev=1915846&view=rev
Log:
try to set security headers

Modified:
    poi/site/publish/.htaccess

Modified: poi/site/publish/.htaccess
URL: 
http://svn.apache.org/viewvc/poi/site/publish/.htaccess?rev=1915846&r1=1915845&r2=1915846&view=diff
==============================================================================
--- poi/site/publish/.htaccess (original)
+++ poi/site/publish/.htaccess Sat Feb 17 19:17:15 2024
@@ -27,7 +27,7 @@ RewriteRule ^apidocs/(overview*)$ /apido
 
 # Security Headers
 Header set Strict-Transport-Security "max-age=31536000"
-Header set Content-Security-Policy "default-src 'self' https://poi.apache.org/ 
; style-src 'self' https://poi.apache.org/ 'unsafe-inline' ; script-src 'self' 
https://poi.apache.org/ 'unsafe-inline' ; frame-src 'self' ;"
+# Header set Content-Security-Policy "default-src 'self' 
https://poi.apache.org/ ; style-src 'self' https://poi.apache.org/ 
'unsafe-inline' ; script-src 'self' https://poi.apache.org/ 'unsafe-inline' ; 
frame-src 'self' ;"
 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: commits-unsubscr...@poi.apache.org
For additional commands, e-mail: commits-h...@poi.apache.org

Reply via email to