Be a good web email interface and include the originator's IP address
in the headers. Although this information can be gleaned from the web server logs, it should not be necessary to have access to the web server in order to know who sent in a PR.
This commit is contained in:
parent
293f9cefcf
commit
0ea6a64950
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=13148
1 changed files with 2 additions and 1 deletions
|
@ -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.6 2001/06/13 00:04:42 dd Exp $
|
||||
# $FreeBSD$
|
||||
|
||||
require "html.pl";
|
||||
|
||||
|
@ -71,6 +71,7 @@ if (!$cgi_data{'email'} || !$cgi_data{'originator'} ||
|
|||
$pr = "To: $gnemail\n" .
|
||||
"From: $cgi_data{'originator'} <$cgi_data{'email'}>\n" .
|
||||
"Subject: $cgi_data{'synopsis'}\n" .
|
||||
"X-Originating-IP: $ENV{'REMOTE_ADDR'}\n" .
|
||||
"X-Send-Pr-Version: www-1.0\n\n" .
|
||||
">Submitter-Id:\t$cgi_data{'submitterid'}\n" .
|
||||
">Originator:\t$cgi_data{'originator'}\n" .
|
||||
|
|
Loading…
Reference in a new issue