Skip to content

Commit

Permalink
Merge pull request #844 from nextcloud/backport/839/stable30
Browse files Browse the repository at this point in the history
  • Loading branch information
provokateurin authored Jan 14, 2025
2 parents 77e4a69 + 22bd0b1 commit d2f3692
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Controller/SiteController.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ protected function createResponse(int $id, array $site, string $path = ''): Temp
$policy = new ContentSecurityPolicy();
$policy->addAllowedWorkerSrcDomain('*');
$policy->addAllowedFrameDomain('*');
$policy->addAllowedFrameDomain('blob:');
$response->setContentSecurityPolicy($policy);

return $response;
Expand Down

0 comments on commit d2f3692

Please sign in to comment.