The Content-Security-Policy header must not be overridden
https://github.com/apache/tsfile/blob/054e8a380e83be9aa804132cdbdce578185d7763/src/.vuepress/public/.htaccess#L9
The Content-Security-Policy header must not be overridden.
There is now a standard way to add local exceptions to the CSP:
https://infra.apache.org/tools/csp.html
You need to get approval before adding any domains. Also please document such approval in the .htaccess file.
The following are already included in the default:
https://www.apachecon.com/
https://www.communityovercode.org/
https://*.apache.org/
https://apache.org/
https://*.scarf.sh/
So do these need to be applied for separately?
CSP permissions for foo.apache.org - Adding 3rd party service Algolia. Approved by VP Data Privacy.
SetEnv CSP_PROJECT_DOMAINS "https://.algolia.net/ https://.algolianet.com/ https://*.algolia.io/"
The document says:
"Each additional host you add MUST have been pre-approved by VP Data Privacy ([email protected]), and SHOULD have an accompanying comment in the .htaccess file explaining why the CSP is changed and where permission was obtained."