SF.net SVN: postfixadmin:[1598] branches/postfixadmin-2.3
Brought to you by:
christian_boltz,
gingerdog
From: <chr...@us...> - 2013-12-01 23:33:45
|
Revision: 1598 http://sourceforge.net/p/postfixadmin/code/1598 Author: christian_boltz Date: 2013-12-01 23:33:43 +0000 (Sun, 01 Dec 2013) Log Message: ----------- vacation.pl: - encode subject https://sourceforge.net/p/postfixadmin/bugs/272/ https://sourceforge.net/p/postfixadmin/patches/119/ Modified Paths: -------------- branches/postfixadmin-2.3/CHANGELOG.TXT branches/postfixadmin-2.3/VIRTUAL_VACATION/vacation.pl Modified: branches/postfixadmin-2.3/CHANGELOG.TXT =================================================================== --- branches/postfixadmin-2.3/CHANGELOG.TXT 2013-12-01 23:30:58 UTC (rev 1597) +++ branches/postfixadmin-2.3/CHANGELOG.TXT 2013-12-01 23:33:43 UTC (rev 1598) @@ -17,6 +17,7 @@ - fix creating superadmin in setup.php with MariaDB (more strict SQL) - trim() localpart in create-mailbox to avoid mailbox names with leading space - mark vacation_notification.notified field as latin1 to avoid overlong index + - vacation.pl: encode subject Version 2.3.6 - 2013/01/02 - SVN r1417 (postfixadmin-2.3 branch) ---------------------------------------------------------------- Modified: branches/postfixadmin-2.3/VIRTUAL_VACATION/vacation.pl =================================================================== --- branches/postfixadmin-2.3/VIRTUAL_VACATION/vacation.pl 2013-12-01 23:30:58 UTC (rev 1597) +++ branches/postfixadmin-2.3/VIRTUAL_VACATION/vacation.pl 2013-12-01 23:33:43 UTC (rev 1598) @@ -445,9 +445,8 @@ 'headers' => 'X-Loop: Postfix Admin Virtual Vacation', ); my %mail; - # I believe Mail::Sender qp encodes the subject, so we no longer need to. %mail = ( - 'subject' => $subject, + 'subject' => encode_mimewords($subject, 'Charset', 'UTF-8'), 'from' => $from, 'to' => $to, 'msg' => encode_base64($body) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |