Skip to content
Permalink
Browse files

bug-1390: added escaping wit htmlspecialchars function and encoding U…

…TF-8
  • Loading branch information
INOPIAE
INOPIAE committed Jul 22, 2015
1 parent acad82e commit c28a5e261f2ab696b1e3959ddfa3b44a79ff8a19
Showing with 1 addition and 1 deletion.
  1. +1 −1 manager/application/views/scripts/mail/read.phtml
@@ -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'));

0 comments on commit c28a5e2

Please sign in to comment.
You can’t perform that action at this time.