Merge branch 'revert-3ad55504' into 'develop'

Revert "Merge branch 'ent-5992-XSS-Vuln-en-los-eventos-metaconsola' into 'develop'"

See merge request artica/pandorafms!3384
This commit is contained in:
Daniel Rodriguez 2020-07-21 14:05:13 +02:00
commit ffdc18b8af
1 changed files with 1 additions and 1 deletions

View File

@ -4750,7 +4750,7 @@ function events_page_comments($event, $ajax=false)
foreach ($comm as $c) {
$data[0] = '<b>'.$c['action'].' by '.$c['id_user'].'</b>';
$data[0] .= '<br><br><i>'.date($config['date_format'], $c['utimestamp']).'</i>';
$data[1] = '<p style="word-break: break-word;">'.strip_tags($c['comment'], '<br>').'</p>';
$data[1] = '<p style="word-break: break-word;">'.stripslashes(str_replace(['\n', '\r'], '<br/>', $c['comment'])).'</p>';
$table_comments->data[] = $data;
}
break;