Closed donpwinston closed 11 months ago
Thank you for reporting. What's the exact error message?
Refused to apply a stylesheet because its hash, its nonce, or 'unsafe-inline' does not appear in the style-src directive of the Content Security Policy.
On Tuesday, May 2, 2023 at 08:13:15 AM EDT, kenjis ***@***.***> wrote:
Thank you for reporting. What's the exact error message?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
It seems there is no JavaScript code that was reported in the current version (4.4.x). If you still have this issue, please go to #8405 or create an new issue.
PHP Version
8.1
CodeIgniter4 Version
4.3.4
CodeIgniter4 Installation Method
Composer (as dependency to an existing project)
Which operating systems have you tested for this bug?
Linux
Which server did you use?
apache
Database
No response
What happened?
When the toolbar is turned, CSPEnables is true the nonce value appears to be missing in the javascript code below:
Steps to Reproduce
Turn CSPEnabled on, set CI_ENVIRONMENT to 'development'. Request a page generated by CI. Look at browser javascript console. An error stating missing nonce value will be displayed. In my case the browser is Safari.
Expected Output
No error in the Javascript console.
Anything else?
No response