Skip to content

Commit

Permalink
Add missing CSP
Browse files Browse the repository at this point in the history
  • Loading branch information
arnowelzel authored Jan 4, 2024
1 parent 1f2e92d commit 963ee8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion keeweb/lib/Controller/PageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,9 @@ private function getCSP() {
$csp->addAllowedConnectDomain('https://services.keeweb.info');
$csp->addAllowedScriptDomain('https://plugins.keeweb.info');
$csp->addAllowedScriptDomain("'unsafe-inline'");
$csp->addAllowedScriptDomain("blob:");
$csp->addAllowedConnectDomain('https://plugins.keeweb.info');
$csp->allowEvalScript(true);
$csp->allowEvalScript(true);
$csp->allowInlineStyle();
return $csp;
}
Expand Down

0 comments on commit 963ee8a

Please sign in to comment.