Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unsafe-inline to allow bucket graph to display (#4031)
The current CSP policy for Sidekiq Web appears to block the inline script that renders the bucket charts for limits. This change updates the script CSP rules to match the style CSP rules to allow the chart to successfully render. In our application this change made the bucket charts successfully render. cc: #3913, #4030
- Loading branch information
78f3b68
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.
@mperham is it possible to cut a new patch release for base Sidekiq? We're running a fork to get our limit graphs working and this would help us move back to upstream.
78f3b68
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.
78f3b68
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.
Thank you @mperham!