Skip to content

Commit

Permalink
Merge pull request #843 from nextcloud/backport/839/stable29
Browse files Browse the repository at this point in the history
  • Loading branch information
provokateurin authored Jan 14, 2025
2 parents 2f3e961 + 4baca69 commit e3aabbc
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 @@ -116,6 +116,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 e3aabbc

Please sign in to comment.