Skip to content

Commit

Permalink
Merge pull request #103 from Slug-V/patch-1
Browse files Browse the repository at this point in the history
Allow favicon.keeweb.info as an image source in CSP
  • Loading branch information
jhass authored May 20, 2019
2 parents 6181472 + 3151df3 commit 380e78f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions keeweb/controller/pagecontroller.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ private function getCSP() {
$csp->addAllowedImageDomain("'self'");
$csp->addAllowedImageDomain("data:");
$csp->addAllowedImageDomain("blob:");
$csp->addAllowedImageDomain("https://favicon.keeweb.info");
$csp->addAllowedScriptDomain("'self'");
$csp->addAllowedConnectDomain("'self'");
$csp->addAllowedScriptDomain('https://plugins.keeweb.info');
Expand Down

0 comments on commit 380e78f

Please sign in to comment.