mirror of
https://github.com/php/web-bugs.git
synced 2026-03-26 08:42:06 +01:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user