Skip to content

Commit

Permalink
Use lax CSP for help plugin to allow remote frame source
Browse files Browse the repository at this point in the history
  • Loading branch information
pabzm committed Jan 31, 2025
1 parent 1900aae commit e326546
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/help/help.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public function action()
'tablink' => [$this, 'tablink'],
]);

$rcmail->output->set_env('safemode', true);
$rcmail->output->set_env('help_links', $this->help_metadata());
$rcmail->output->send(!empty($_GET['_content']) ? 'help.content' : 'help.help');
}
Expand Down

0 comments on commit e326546

Please sign in to comment.