Project

General

Profile

Bug #20232 » 0010769_v3.patch

Administrator Admin, 2009-08-02 10:07

View differences:

t3lib/class.t3lib_div.php (Arbeitskopie)
default:
$qpValue = t3lib_div::quoted_printable($part,1000);
if ($part!=$qpValue) {
$qpValue = str_replace(' ','_',$qpValue); // Encoded words in the header should not contain non-encoded spaces. "_" is a shortcut for "=20". See RFC 2047 for details.
// Encoded words in the header should not contain non-encoded:
// * spaces. "_" is a shortcut for "=20". See RFC 2047 for details.
// * question mark. See RFC 1342 (http://tools.ietf.org/html/rfc1342)
$search = array(' ', '?');
$replace = array('_', '=3F');
$qpValue = str_replace($search, $replace, $qpValue);
$part = '=?'.$charset.'?Q?'.$qpValue.'?=';
}
break;
(6-6/6)