Skip to content

Commit

Permalink
Remove FORM tags from HTML when editing threads - GHSA-985r-6qfc-hg8m
Browse files Browse the repository at this point in the history
  • Loading branch information
freescout-help-desk committed May 5, 2024
1 parent 2614514 commit ce5c85f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Http/Controllers/ConversationsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1960,6 +1960,7 @@ public function ajax(Request $request)
'thread' => $thread
];
$response['html'] = \View::make('conversations/partials/edit_thread')->with($data)->render();
$response['html'] = \Helper::stripDangerousTags($response['html']);

$response['status'] = 'success';
}
Expand Down

0 comments on commit ce5c85f

Please sign in to comment.