svn: /SVNROOT/ commit-email.php
| From: | Gwynne Raskind | Date: | Fri, 31 Jul 2009 23:46:19 +0000 |
| Subject: | svn: /SVNROOT/ commit-email.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-59931@lists.php.net to get a copy of this message | ||
gwynne Fri, 31 Jul 2009 23:46:19 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=286604
Log:
utf-8 is a charset, not an encoding, as far as RFC2822 is concerned. This wasn't causing any
problems since the charset of the attachment isn't necessarily used, but it's good to have
it correct anyway
Changed paths:
U SVNROOT/commit-email.php
Modified: SVNROOT/commit-email.php
===================================================================
--- SVNROOT/commit-email.php 2009-07-31 23:44:52 UTC (rev 286603)
+++ SVNROOT/commit-email.php 2009-07-31 23:46:19 UTC (rev 286604)
@@ -200,7 +200,7 @@
$diff_data = wordwrap(base64_encode($commit_info['diffs']), 80, PHP_EOL, TRUE);
$msg_body .= <<<MIMEBODY
-Content-Type: text/x-diff; encoding="utf-8"
+Content-Type: text/x-diff; charset="utf-8"
Content-Disposition: attachment; filename="svn-diffs-{$REV}.txt"
Content-Transfer-Encoding: base64