Skip to content

Commit

Permalink
remove allowInlineScript method - no longer available in NC-28
Browse files Browse the repository at this point in the history
  • Loading branch information
ylebre committed Feb 7, 2024
1 parent ec8f47c commit d1974fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solid/lib/Controller/StorageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ private function respond($response) {
$policy->addAllowedFontDomain("*");
$policy->addAllowedConnectDomain("*");
$policy->allowInlineStyle(true);
$policy->allowInlineScript(true);
// $policy->allowInlineScript(true); - removed, this function no longer exists in NC28
$policy->allowEvalScript(true);
$result->setContentSecurityPolicy($policy);

Expand Down

0 comments on commit d1974fd

Please sign in to comment.