diff --git a/lib/Mime/Viewer/Appledouble.php b/lib/Mime/Viewer/Appledouble.php index 44e20e555..a323885d5 100644 --- a/lib/Mime/Viewer/Appledouble.php +++ b/lib/Mime/Viewer/Appledouble.php @@ -97,7 +97,7 @@ protected function _IMPrender($inline) $data_name = $this->getConfigParam('imp_contents')->getPartName($data_part); $status = new IMP_Mime_Status($this->_mimepart, [ - sprintf(_('This message contains a Macintosh file (named "%s").'), $data_name), + sprintf(_('This message contains a Macintosh file (named "%s").'), htmlspecialchars($data_name, ENT_QUOTES, $this->getConfigParam('charset'))), $this->getConfigParam('imp_contents')->linkViewJS( $applefile_part, 'download_attach',