svn: SVNROOT/
[email protected] ("Gwynne Raskind") Tue, 14 Jul 09 10:02:22 +0000
| Newsgroups | php.cvs,svn.migration |
|---|---|
| Message-ID | <[email protected]> |
--f3ad9fc1ed7ea81e1e193f36ce58db34896b1874
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
gwynne Tue, 14 Jul 2009 10:02:22 +0000
URL: http://svn.php.net/viewvc?view=revision&revision=284067
Changed paths:
U SVNROOT/commit-email.php
Log:
Okay, I give up. Full names are now encoded LOSSILY as ASCII. Also added a
couple of missing which-list expressions.
Modified: SVNROOT/commit-email.php
===================================================================
--- SVNROOT/commit-email.php 2009-07-14 09:57:09 UTC (rev 284066)
+++ SVNROOT/commit-email.php 2009-07-14 10:02:22 UTC (rev 284067)
@@ -17,6 +17,7 @@
'|^gtk/php-gtk-web|' => array('[email protected]'),
'|^gtk/php-gtk-doc|' => array('[email protected]'),
'|^gtk/php-gtk|' => array('[email protected]'),
+ '|^gtk|' => array('[email protected]'),
// Web
'|^web/bugtracker|' => array('[email protected]'),
@@ -67,6 +68,7 @@
'|^phd|' => array('[email protected]'),
'|^web/doc|' => array('[email protected]'),
'|^doc-editor|' => array('[email protected]'),
+ '|^phpdoc|' => array('[email protected]'),
// PEAR
'|^pear/pearbot|' => array('[email protected]'),
@@ -119,9 +121,7 @@
$saw_last_ISO = TRUE;
}
if ($username === $commit_user) {
- if (!$saw_last_ISO) {
- $fullname = iconv("ISO-8859-1", "UTF-8//TRANSLIT", $fullname);
- }
+ $fullname = str_replace(array('~', "'", '"'), '', iconv($saw_last_ISO ? "UTF-8" : "ISO-8859-1", "ASCII//TRANSLIT", $fullname));
$from = "\"{$fullname}\" <{$username}@php.net>";
break;
}
@@ -164,7 +164,7 @@
// Build e-mail
$boundary = sha1("{$commit_user}{$commit_date}");
-$msg_headers = "From: " . imap_8bit($from) . "\r\n" .
+$msg_headers = "From: {$from}\r\n" .
"To: " . implode(', ', $emails_to) . "\r\n" .
"Message-ID: <svn{$commit_user}{$commit_date}@svn.php.net>\r\n" .
"Date: " . date(DATE_RFC822, $commit_date) . "\r\n" .
--f3ad9fc1ed7ea81e1e193f36ce58db34896b1874--