Verify the recipient address.

This commit is contained in:
Wolfram Schneider 1997-10-13 22:27:37 +00:00
parent 1e812db91e
commit 5ba4a59590
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=2059
2 changed files with 2 additions and 0 deletions

View file

@ -35,6 +35,7 @@ if ($FORM{"emaila"} eq "") {
}
$recipient = $FORM{'recipient'};
exit(0) if $recipient !~ /^[a-z_\.\-]+\@freebsd\.org$/io;
$sub_recipient = "majordomo@freebsd.org";
#
# format the mail file

View file

@ -35,6 +35,7 @@ if ($FORM{"emaila"} eq "") {
}
$recipient = $FORM{'recipient'};
exit(0) if $recipient !~ /^[a-z_\.\-]+\@freebsd\.org$/io;
$sub_recipient = "majordomo@freebsd.org";
#
# format the mail file