Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implements a few suggestions from webbkoll to improve privacy and security:
The Content-Security-Policy restricts where various kinds of subresources may be sourced from. Think of it as an allowlist. This is more useful if we were rendering content that wasn't reviewed in advance (e.g., comments), but it makes clear who we trust, and gave us a chance to consolidate that in the case of MathJax.
Adds hashes to our stylesheets and CSS. The browser will refuse to load them if the contents change. Which, since they're versioned, is probably real bad if they do.
The referer policy instructs browsers not to leak trackable information when following links off our site.