feat: Add script-src-elem option to CSP options.
Added a new CSP3 directive for Content Security Policy for script-src-elem.
Hi there, mark-unwin! :wave:
Thank you for sending this PR!
We expect the following in all Pull Requests (PRs).
- PRs must be sent to the appropriate branch
- All git commits must be GPG-signed
- Must follow our style guide
- Be commented in the PHP source file
- Be documented in the user guide
- Be unit tested
- Pass all checks in GitHub Actions
[!IMPORTANT] We expect all code changes or bug-fixes to be accompanied by one or more tests added to our test suite to prove the code works.
If pull requests do not comply with the above, they will likely be closed. Since we are a team of volunteers, we don't have any more time to work on the framework than you do. Please make it as painless for your contributions to be included as possible.
See https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md
Sincerely, the mergeable bot 🤖
Please do not modify the initial PR template with checkboxes. You do not need to merge the previous comments from 4.7 - the team will do this.
Please make sure each pull request only contains commits for its specific change. Commits from other, already merged PRs should not be included.
:wave: Hi, @mark-unwin!
We detected conflicts in your PR against the base branch :speak_no_evil:
You may want to sync :arrows_counterclockwise: your branch with upstream!
Ref: Syncing Your Branch
Please fix the merge conflicts.