forked from extern/egroupware
use ENT_SUBSTITUTE on htmlspecialchars to harden display of message as source
This commit is contained in:
parent
5a42714aee
commit
90200ea1ec
@ -2595,7 +2595,7 @@ class mail_ui
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
html::safe_content_header($message, $subject.".eml", $mime='text/html', $size=0, true, false);
|
html::safe_content_header($message, $subject.".eml", $mime='text/html', $size=0, true, false);
|
||||||
print '<pre>'. htmlspecialchars($message, ENT_NOQUOTES, 'utf-8') .'</pre>';
|
print '<pre>'. htmlspecialchars($message, ENT_NOQUOTES|ENT_SUBSTITUTE, 'utf-8') .'</pre>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user