From: Chris S. <too...@ph...> - 2009-08-18 01:52:28
|
Author: toonarmy Date: Tue Aug 18 02:43:51 2009 New Revision: 10011 Log: Per RFC2047 section 5 do not use quoted strings for encoded recipient names Modified: branches/phpBB-3_0_0/phpBB/includes/functions_messenger.php Modified: branches/phpBB-3_0_0/phpBB/includes/functions_messenger.php ============================================================================== *** branches/phpBB-3_0_0/phpBB/includes/functions_messenger.php (original) --- branches/phpBB-3_0_0/phpBB/includes/functions_messenger.php Tue Aug 18 02:43:51 2009 *************** *** 455,461 **** foreach ($address_ary as $which_ary) { ! $$type .= (($$type != '') ? ', ' : '') . (($which_ary['name'] != '') ? '"' . mail_encode($which_ary['name'], $encode_eol) . '" <' . $which_ary['email'] . '>' : $which_ary['email']); } } --- 455,461 ---- foreach ($address_ary as $which_ary) { ! $$type .= (($$type != '') ? ', ' : '') . (($which_ary['name'] != '') ? mail_encode($which_ary['name'], $encode_eol) . ' <' . $which_ary['email'] . '>' : $which_ary['email']); } } |