-
-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(vue-renderer): add csp option for csp v1 compatibility #5975
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@williamchong007 A pr for updating doc will be great. |
This would have been better had you spelled |
Not sure if this is what you mean; AFAICT it's still in use as of 2.12.2. Am I looking in the wrong place? |
Patch is available since 2.10.2. You can use |
Fixes CSP compatibility mentioned in #5627
Types of changes
Description
Add a csp option
unsafeInlineCompatiblity
which allows'unsafe-inline'
and hash based rules to appear together.Not sure if the option name can be shorter.
Resolves: #5627
Checklist: