* tracker: mailhandling - prevent to use rsh or ssh to establish connection

This commit is contained in:
Klaus Leithoff 2011-08-18 14:49:16 +00:00
parent d6509ad506
commit bda5e014d7

View File

@ -1027,6 +1027,11 @@ class translation
if ($element->charset != 'x-unknown')
{
if( strtoupper($element->charset) != 'UTF-8') $element->text = preg_replace($sar,$rar,$element->text);
if(preg_match('/\?=.+=\?/', $element->text))
{
$element->text = self::decodeMailHeader($element->text, $element->charset);
$element->charset = $displayCharset;
}
$newString .= self::convert($element->text,$element->charset);
}
else