Problem with 'strict-dynamic' and Google reCaptcha in Safari

Hello,


When I use Safari to visit a page that uses reCaptcha by Google (v2 or v3, it doesn't matter) the web inspector displays a lot of errors like these:


'The source list for Content Security Policy directive 'script-src' contains an invalid source: ''strict-dynamic''. It will be ignored.'


Image: https://imgur.com/a/IwTIW7S

URL: https://www.google.com/recaptcha/api2/demo


I know this a demo, but it's an exact example of what's happening on a website I'm developing. It looks like Safari doesn't support the 'strict-dynamic' value, as reCaptcha doesn't cause any problems in other browsers where I've tested it (Chrome, Firefox).


My version of Safari is 12.0.3 and I'm using a MacBook Pro with Mojave 10.14.3, but I'm not the only one having this problem with Safari.


I don't know what is causing this but I need to fix it as soon as possible.


Thank you. 🙂