Skip to content

Conversation

@LordSimal
Copy link
Contributor

No description provided.

ajibarra and others added 16 commits May 19, 2023 09:14
927 - Fix DebugEngine not using fallback config
This allows debugkit to work in CSP controlled environments.

Fixes #943
See if CI will pass when the requests table tests are enabled again.
These tests still break CI.
Use cspScriptNonce when it is available
Added the info that the forceEnable config value accepts a callable
Use Router::getRequest() to access the request from before controllers
were dispatched and after middleware have been run. This should ensure
that the CSP script nonce is present in the request.

Refs #943
Read cspScriptNonce from latest request
# Conflicts:
#	.github/workflows/ci.yml
#	tests/TestCase/Middleware/DebugKitMiddlewareTest.php
@LordSimal LordSimal added this to the 5.x milestone Jul 29, 2023
@markstory markstory merged commit 50a3683 into 5.x Jul 30, 2023
@markstory markstory deleted the 5.x-merge branch July 30, 2023 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants