Skip to content

Commit

Permalink
fix view message xss
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaomlove authored Nov 22, 2023
1 parent b2a2470 commit 8fc88d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/messages.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
}
}
$body = format_comment($message['msg']);
$body = htmlspecialchars_decode($body);
//$body = htmlspecialchars_decode($body);
$added = $message['added'];
if ($message['sender'] == $CURUSER['id'])
{
Expand Down

0 comments on commit 8fc88d3

Please sign in to comment.