CSP issues #208
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
ui
Related to the user interface of the pattern library
Milestone
Whilst in the process of adding a Content Security Policy to a Wagtail site I found that the Pattern Library is not compliant. I raised this issue to request that the Pattern Library be made CSP compliant.
Working on the philosophy that a weak CSP is better than no CSP I have added some custom middleware to get around the issue, please see an example below:
Still in the process of testing but adding here to share the general approach for a (hopefully) temporary workaround. Thanks.
The text was updated successfully, but these errors were encountered: