CodeIgniter Forums
csp setting interfere with debug toolbar - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31)
+--- Thread: csp setting interfere with debug toolbar (/showthread.php?tid=71291)



csp setting interfere with debug toolbar - anthos1984 - 07-28-2018

In short...
When CSP (\App\Config) setting is true, debug toolbar looks ugly (like... no css applied). When it set to false (default), the toolbar looks good.

I don't know about CSP in detail, but the toolbar called by script originated from server itself, should passed the csp filter.


RE: csp setting interfere with debug toolbar - puschie - 08-02-2018

created a PR for this

not completed yet but bring it in a usable state

UPDATE : PR merged, so it should be fixed ( some onclick listener still produce errors, but it shouldnt effect the overall functionality )