Content Security Policy #2296
Labels
[C] Frontend
Focuses on frontend implementation
[P] Minor
Minor priority
[T] Refactoring
Existing parts should become faster, more readable, or in any other way better.
See #2099.
nonce="{{ CSP_NONCE }}"
), then we can enforce nonces for scripts. For template tags, we probably have to manually forward the context . CSP Configuration should then look something like this.attr()
in CSS doesn't work with current browsers, at least for colors. The only workaround I currently see is having custom javascript that translatesdata-X
helper attributes for color into "inline" style (using the.style
attribute) -- seems a bit ugly to medata:
images we currently have (3 svg paths in CSS files) into separate files. These are currently inlined into CSS to use our color definitions.The text was updated successfully, but these errors were encountered: