File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -397,9 +397,9 @@ await context.HttpContext.Response.WriteAsync(
397397
398398 string csp = string . Join ( "; " ,
399399 $ "default-src 'self'",
400- $ "script-src 'self' 'unsafe-inline' cdn.jsdelivr.net esm.sh www.clarity.ms www.googletagmanager.com https://hcaptcha.com https://*.hcaptcha.com{ tryDotNetSources } ",
400+ $ "script-src 'self' 'unsafe-inline' 'unsafe-eval' blob: cdn.jsdelivr.net esm.sh www.clarity.ms www.googletagmanager.com https://hcaptcha.com https://*.hcaptcha.com{ tryDotNetSources } ",
401401 $ "style-src 'self' 'unsafe-inline' cdn.jsdelivr.net cdnjs.cloudflare.com fonts.googleapis.com https://hcaptcha.com https://*.hcaptcha.com",
402- $ "font-src 'self' fonts.gstatic.com cdnjs.cloudflare.com",
402+ $ "font-src 'self' fonts.gstatic.com cdnjs.cloudflare.com cdn.jsdelivr.net ",
403403 $ "img-src 'self' data: https:",
404404 $ "connect-src 'self' https://hcaptcha.com https://*.hcaptcha.com https://api.pwnedpasswords.com https://*.algolia.net https://*.algolianet.com https://*.google-analytics.com https://*.clarity.ms{ tryDotNetSources } ",
405405 $ "frame-src https://hcaptcha.com https://*.hcaptcha.com https://newassets.hcaptcha.com{ tryDotNetSources } ",
You can’t perform that action at this time.
0 commit comments