use purify to clean potential malicious content out of msg/message

This commit is contained in:
Klaus Leithoff 2010-04-23 09:38:12 +00:00
parent 4bde0157f8
commit 3377fbf6c6

View File

@ -452,8 +452,8 @@
function viewMainScreen()
{
// get passed messages
if (!empty($_GET["msg"])) $message[] = $_GET["msg"];
if (!empty($_GET["message"])) $message[] = $_GET["message"];
if (!empty($_GET["msg"])) $message[] = html::purify($_GET["msg"]);
if (!empty($_GET["message"])) $message[] = html::purify($_GET["message"]);
unset($_GET["msg"]);
unset($_GET["message"]);
#printf ("this->uifelamimail->viewMainScreen() start: %s<br>",date("H:i:s",mktime()));