X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fmail_fetch%2Ffetch.php;h=0efb7bb767cd4f7ecabb62ac366b52ccd4e90aba;hp=39e0d1df79043996426445c265aa2468ea59c68e;hb=a9e1e670fab4399260e0790e018393c7dcefcecc;hpb=164584f0e97ba654bfe742bf6641dc53ae0f6827 diff --git a/plugins/mail_fetch/fetch.php b/plugins/mail_fetch/fetch.php index 39e0d1df..0efb7bb7 100644 --- a/plugins/mail_fetch/fetch.php +++ b/plugins/mail_fetch/fetch.php @@ -183,7 +183,7 @@ sqgetGlobalVar('delimiter', $delimiter, SQ_SESSION); Mail_Fetch_Status(_("Opening POP server")); $Count = $pop3->login($mailfetch_user, $mailfetch_pass); if (($Count == false || $Count == -1) && $pop3->ERROR != '') { - Mail_Fetch_Status(_("Login Failed:") . ' ' . $pop3->ERROR ); + Mail_Fetch_Status(_("Login Failed:") . ' ' . htmlspecialchars($pop3->ERROR) ); continue; } @@ -290,7 +290,7 @@ sqgetGlobalVar('delimiter', $delimiter, SQ_SESSION); if( $pop3->delete($i) ) { Mail_Fetch_Status(_("Message ") . $i . _(" deleted from Remote Server!")); } else { - Mail_Fetch_Status(_("Delete failed:") . $pop3->ERROR ); + Mail_Fetch_Status(_("Delete failed:") . htmlspecialchars($pop3->ERROR) ); } } } else {