Verify the recipient address.
This commit is contained in:
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
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue