treeherder/docs
Ed Morley d9de41bf4b
Bug 1270157 - Convert the report-only CSP header to the real thing (#4687)
The latest policy used in the report-only header has been working well
on production (the violation reports logged to New Relic are only from
scripts injected by browser addons), so we're ready to start enforcing
the policy by using the real `Content-Security-Policy` header name.

NB: When features are added in the future, PR authors and reviewers will
need to remember to update the policy if needed (for example to add domains
to the `connect-src` directive). The CSP header is not enabled when using
`webpack-dev-server` (it would break dev source maps and react-hot-loader)
so if in doubt test locally (using `yarn build` and serving via Django
runserver) or on prototype first.

See:
https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
2019-02-25 19:47:45 +00:00
..
admin.md Docs: Update read-only replica GRANTs (#4509) 2019-01-28 12:11:19 +00:00
backend_tasks.md Bug 1527868 - Vagrant/Travis: Remove Elasticsearch server 2019-02-14 21:10:21 +00:00
code_style.md Bug 1466084 - Docs: Switch to MkDocs and Material theme (#4565) 2019-02-06 19:34:08 +00:00
common_tasks.md Bug 1466084 - Docs: Switch to MkDocs and Material theme (#4565) 2019-02-06 19:34:08 +00:00
data_validation.md Bug 1522101 - Use Prettier to format Markdown 2019-01-23 20:19:04 +00:00
index.md Bug 1466084 - Docs: Switch to MkDocs and Material theme (#4565) 2019-02-06 19:34:08 +00:00
installation.md Bug 1270157 - Convert the report-only CSP header to the real thing (#4687) 2019-02-25 19:47:45 +00:00
pulseload.md Bug 1466084 - Docs: Switch to MkDocs and Material theme (#4565) 2019-02-06 19:34:08 +00:00
rest_api.md Bug 1522101 - Use Prettier to format Markdown 2019-01-23 20:19:04 +00:00
retrieving_data.md Bug 1466084 - Docs: Switch to MkDocs and Material theme (#4565) 2019-02-06 19:34:08 +00:00
seta.md Bug 1513486 - Remove /runnable_jobs/ API 2019-02-08 18:53:58 +00:00
submitting_data.md Bug 1466084 - Docs: Switch to MkDocs and Material theme (#4565) 2019-02-06 19:34:08 +00:00
testcases.md Bug 1522101 - Use Prettier to format Markdown 2019-01-23 20:19:04 +00:00
troubleshooting.md Bug 1522101 - Use Prettier to format Markdown 2019-01-23 20:19:04 +00:00