bug-1390: added escaping wit htmlspecialchars function and encoding UTF-8

This commit is contained in:
INOPIAE 2015-07-22 20:43:26 +02:00
parent acad82ef82
commit c28a5e261f

View file

@ -7,4 +7,4 @@ $this->headLink()->appendStylesheet('/css/mail.css');
?>
<H1><?php print I18n::_('Read Mail'); ?></H1>
<?php
print nl2br(quoted_printable_decode($this->mail_body));
print nl2br(htmlspecialchars(quoted_printable_decode($this->mail_body), ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8'));