Skip to content

Commit

Permalink
Strip unwanted tags from mailbox signature when saving it
Browse files Browse the repository at this point in the history
  • Loading branch information
freescout-help-desk committed May 6, 2024
1 parent c4932c4 commit a59619c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Http/Controllers/MailboxesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ public function updateSave($id, Request $request)
\Eventy::action('mailbox.settings_before_save', $mailbox, $request);

$mailbox->fill($request->all());
$mailbox->signature = \Helper::stripDangerousTags($mailbox->signature);

$mailbox->save();

Expand Down

0 comments on commit a59619c

Please sign in to comment.