1 http://mysql.bkbits.net:8080/eventum/cset@1.523?nav=index.html|ChangeSet@-7d
3 diff -Naru a/ChangeLog b/ChangeLog
4 diff -Naru a/include/class.notification.php b/include/class.notification.php
5 --- a/include/class.notification.php 2005-04-05 01:44:57 -07:00
6 +++ b/include/class.notification.php 2005-04-05 01:44:57 -07:00
8 $header_names = Mime_Helper::getHeaderNames($_headers);
9 // we don't want to keep the (B)Cc list for an eventum-based email
10 $ignore_headers = array(
19 // build the headers array required by the smtp library
20 foreach ($structure->headers as $header_name => $value) {
21 - if ((in_array($header_name, $ignore_headers)) ||
22 + if ((in_array(strtolower($header_name), $ignore_headers)) ||
23 (!in_array($header_name, array_keys($header_names))) ||
24 (strstr($header_name, ' '))) {
26 # This is a BitKeeper generated diff -Nru style patch.
29 # 2005/04/05 00:47:33-05:00 bryan@mysql.com
30 # Strip CC and BCC headers from outgoing emails.
33 # 2005/04/05 00:47:32-05:00 bryan@mysql.com +1 -0
34 # Strip CC and BCC headers from outgoing emails.
36 # include/class.notification.php
37 # 2005/04/05 00:47:32-05:00 bryan@mysql.com +4 -4
38 # Strip CC and BCC headers from outgoing emails.