Email security reports to distribution's security contacts

Only php.net's security team was receiving security reports, making
them go unnoticed to the distribution contacts.
This patch assumes that people in the $security_developers array (other
than those in $security_distro_people) receive a copy from php.net's
security address exploder.
This commit is contained in:
Raphael Geissert
2012-09-13 12:05:17 -05:00
parent 8e52b180c2
commit 6d41525e49

View File

@@ -1356,6 +1356,9 @@ function get_package_mail($package_name, $bug_id = false, $bug_type = 'Bug')
} else if ($bug_type == 'Security') {
// Security problems *always* go to the sec team
$to[] = $secBugEmail;
foreach ($security_distro_people as $user) {
$to[] = "${user}@php.net";
}
$params = '-f bounce-no-user@php.net';
}
else {