Closed mvasilyev closed 3 years ago
syntax error, unexpected ',', expecting :: (T_PAAMAYIM_NEKUDOTAYIM)
in return "<?php echo app('captcha')->renderFooterJS({$lang, $nonce}); ?>";
Hi @mvasilyev ,
Thanks for your pull request.
This is broken, FYI. Directives only receive a single argument that is translated to an array when the directive is run. I am working on a fix and will PR in a few minutes.
Adding optional nonce parameter so rendered html will contain script tag with nonce parameter. Adding same nonce to
script-src
of SCP headers will allow this script to be executed.