Cloudflare Turnstile
-
Hi,
I enabled Cloudflare Turnstile on Contact Form 7 through AIOWPS, but in Inspect I see an error and several warnings, please check:
Content Security Policy of your site blocks the use of ‘eval’ in JavaScript`The Content Security Policy (CSP) prevents the evaluation of arbitrary strings as JavaScript to make it more difficult for an attacker to inject unathorized code on your site.
To solve this issue, avoid using <code class=” “>eval(), <code class=” “>new Function(), <code class=” “>setTimeout([string], …) and <code class=” “>setInterval([string], …) for evaluating strings.If you absolutely must: you can enable string evaluation by adding <code class=” “>unsafe-eval as an allowed source in a <code class=” “>script-src directive.
Allowing string evaluation comes at the risk of inline script injection.1 directive
Source locationDirectiveStatusnormal?lang=auto:1script-srcblockedIn addition, I see a few more warnings about Turnstle.
[Cloudflare Turnstile] Unknown parameter passed to api.js: “?ver=…”, ignoring.
The resource https://challenges.cloudflare.com/cdn-cgi/challenge-platform/h/g/cmg/1 was preloaded using link preload but not used within a few seconds from the window’s load event. Please make sure it has an appropriateasvalue and it is preloaded intentionally.
You must be logged in to reply to this topic.