'Hangfire Content Security Policy
I'm currently working on web application that require Content Security Policy to be implemented particularly the script-src part. In this appliction i wanted to implement hangfire as a background task runner but faced a problem that it is well described here : https://github.com/HangfireIO/Hangfire/issues/696 but without answer. So i wanted to ask people who are smarter than me :) is there some workaround for this issue that does not involve changing hangfire layout page or allowing script-src unsafe-inline ?
Solution 1:[1]
Just try to upgrade Hangfire version in your application. version 1.7.25 has fixed this csp issue.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | user18746080 |