Add the X-Notify-GNATS: header when we send a PR through the webinterface,

the GNATS auto assign script uses this to add the maintainer of a port
to the PR.

PR:		115290
Submitted by:	Edwin
This commit is contained in:
Remko Lodder 2007-08-08 11:30:57 +00:00
parent ad29bd2c03
commit 77c387fca3
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=30611

View file

@ -8,7 +8,7 @@
# GNU General Public License Version 2.
# (http://www.gnu.ai.mit.edu/copyleft/gpl.html)
#
# $FreeBSD: www/en/cgi/dosendpr.cgi,v 1.34 2007/06/12 20:03:05 simon Exp $
# $FreeBSD: www/en/cgi/dosendpr.cgi,v 1.35 2007/08/06 12:16:17 ceri Exp $
use Socket;
use CGI qw/:standard/;
@ -185,7 +185,8 @@ if ($blackhole_err) {
$pr .= "X-REMOTE_ADDR-Is-Open-Proxy: Maybe\n";
}
$pr .= "X-Send-Pr-Version: www-3.0\n\n" .
$pr .= "X-Send-Pr-Version: www-3.0\n" .
"X-GNATS-Notify: \n\n" .
">Submitter-Id:\t" . param('submitterid') . "\n" .
">Originator:\t" . param('originator') . "\n" .
">Organization:\t" . param('organization') . "\n" .