The Content-Security-Policy header must not be overridden
- Dominant language
- Java
- Stars
- 203
- Forks
- 104
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 33
Description
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/
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting src/.vuepress/public/.htaccess at line 9 and read the CSP guidance at https://infra.apache.org/tools/csp.html. Confirm which local exceptions are needed and whether they are covered by the listed defaults. Done means the CSP header is not overridden and any approved added domains are documented in .htaccess.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- apache
- Domain
- documentation, security
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100