diff --git a/system/Debug/Toolbar.php b/system/Debug/Toolbar.php
index 8c401800df49..7f46f354ae24 100644
--- a/system/Debug/Toolbar.php
+++ b/system/Debug/Toolbar.php
@@ -196,6 +196,11 @@ public function run($startTime, $totalTime, $request, $response): string
$data['config'] = \CodeIgniter\Debug\Toolbar\Collectors\Config::display();
+ if( $response->CSP !== null )
+ {
+ $response->CSP->addImageSrc( 'data:' );
+ }
+
return json_encode($data);
}
diff --git a/system/Debug/Toolbar/Views/toolbar.tpl.php b/system/Debug/Toolbar/Views/toolbar.tpl.php
index e290df6ff3a2..9ec05e4ee5b6 100644
--- a/system/Debug/Toolbar/Views/toolbar.tpl.php
+++ b/system/Debug/Toolbar/Views/toolbar.tpl.php
@@ -270,11 +270,11 @@
= $parser->setData($config)->render('_config.tpl') ?>
-
+