Skip to content

Commit

Permalink
Merge pull request #2176 from nextcloud/backport/2159/stable4
Browse files Browse the repository at this point in the history
[stable4] Add gs.trustedHosts to form-action csp
  • Loading branch information
juliushaertl committed Apr 29, 2022
2 parents 61779e3 + 26337ac commit 0329aaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/AppInfo/Application.php
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 0329aaf

Please sign in to comment.