Code

Validate @recipients before using it for sendmail and Net::SMTP.
authorRobin H. Johnson <robbat2@gentoo.org>
Thu, 26 Apr 2007 02:37:20 +0000 (19:37 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 26 Apr 2007 04:11:58 +0000 (21:11 -0700)
commitc38f0247a88f2c54c0c8535d645f33140201522f
tree9b44df2221c3bdc4f410015ba9cf2f120750dc49
parent732263d411fe2e3e29ee9fa1c2ad1a20bdea062c
Validate @recipients before using it for sendmail and Net::SMTP.

Ensure that @recipients is only raw addresses when it is handed to the sendmail
binary OR Net::SMTP, otherwise BCC cases might get an extra <, or wierd stuff
might be passed to the exec.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-send-email.perl