Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix debugbar loading while csp is enabled #1129

Merged
merged 5 commits into from
Aug 3, 2018

Conversation

puschie286
Copy link
Contributor

@puschie286 puschie286 commented Aug 2, 2018

use csp valid style and script tags for these parts of the debug bar

to fix the rest of csp problems we need to replace all inline style and scripts, so I add them to the toolbar.css. hope this is ok because it looks not optimal

another solution would be allowing inline styles but that would lower the security and also change the whole page behavior ( related to CSP )

Signed-off-by: Christoph Potas <christoph286@googlemail.com>
Signed-off-by: Christoph Potas <christoph286@googlemail.com>
Signed-off-by: Christoph Potas <christoph286@googlemail.com>
Signed-off-by: Christoph Potas <christoph286@googlemail.com>
+ added data: to image source (csp) -> fix icons not shown

Signed-off-by: Christoph Potas <christoph286@googlemail.com>
@lonnieezell lonnieezell merged commit 6b18204 into codeigniter4:develop Aug 3, 2018
@puschie286 puschie286 deleted the DebugBarCSP branch September 11, 2018 07:43
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.

2 participants