Skip to content

Commit

Permalink
Add gs.trustedHosts to form-action csp
Browse files Browse the repository at this point in the history
This will allow loadbalanced collabora servers to serv frames

Signed-off-by: Micke Nordin <kano@sunet.se>
  • Loading branch information
mickenordin authored and backportbot-nextcloud[bot] committed Apr 29, 2022
1 parent 61779e3 commit 26337ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ public function updateCSP() {
foreach ($trustedList as $server) {
$policy->addAllowedFrameDomain($server);
$this->addTrustedRemote($policy, $server);
$policy->addAllowedFormActionDomain($server);
}
}
$remoteAccess = $container->getServer()->getRequest()->getParam('richdocuments_remote_access');
Expand Down

0 comments on commit 26337ac

Please sign in to comment.