Browse Source

Fix security issue introduced yesterday, escape all the XML sent to the browser

pull/469/head
Timothée Jaussoin 8 years ago
parent
commit
b0d0a3a4f2
  1. 2
      app/widgets/Chat/Chat.php

2
app/widgets/Chat/Chat.php

@ -680,8 +680,6 @@ class Chat extends \Movim\Widget\Base
$message->body = $message->subject.': '.$message->body;
}
$message->body = htmlspecialchars_decode($message->body);
// Sticker message
if (isset($message->sticker)) {
$p = new Picture;

Loading…
Cancel
Save