we are seeing these errros is safari which is stopping turnstile from working,Unrecognized Content-Security-Policy directive ‘script-src-attr’.Unrecognized Content-Security-Policy directive ‘worker-src’.
Unsupported CSP directives are ignored by the browser, so there should be no issues with execution. I’m unable to reproduce the issue with Turnstile on that exact Safari version, do you have another ray ID? What behavior do you observe, does Turnstile return an error code instead of success?
I’ve actually started seeing this in Chrome now, before it wasn’t there:
v1?ray=91a9cd7d7cfc77a0&lang=auto:1 Refused to run the JavaScript URL because it violates the following Content Security Policy directive: “script-src ‘nonce-Ud3MmAcgVqkeHvxw’ ‘unsafe-eval’”. Either the ‘unsafe-inline’ keyword, a hash (‘sha256-…’), or a nonce (‘nonce-…’) is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the ‘unsafe-hashes’ keyword is present.
I’m also seeing issues with Safari, but only in some cases. The error I’m seeing in the dev console is also being discussed in this thread: Turnsite CSP violation, how to fix?
Refused to run the JavaScript URL because it violates the following Content Security Policy directive: “script-src ‘nonce-VVsEWmlsLqAqRisj’ ‘unsafe-eval’”. Either the ‘unsafe-inline’ keyword, a hash (‘sha256-…’), or a nonce (‘nonce-…’) is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the ‘unsafe-hashes’ keyword is present.