diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2007-04-25 21:53:22 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-04-25 23:18:17 -0700 |
commit | bf7af1167411cbdd5ade7587a64b18d1b7b2ea69 (patch) | |
tree | 685b8396ac6d139dafdd32db233950983d9e0b79 /git-send-email.perl | |
parent | 56973d20c181abdc5cc13eab976733feec0c590b (diff) | |
download | git-bf7af1167411cbdd5ade7587a64b18d1b7b2ea69.tar.gz |
Sanitize @to recipients.
We need to sanitize @to as well to ensure that names are properly quoted.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-send-email.perl')
-rwxr-xr-x | git-send-email.perl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/git-send-email.perl b/git-send-email.perl index 56c2936f27..12ced28885 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -274,6 +274,7 @@ sub expand_aliases { } @to = expand_aliases(@to); +@to = (map { sanitize_address_rfc822($_) } @to); @initial_cc = expand_aliases(@initial_cc); @bcclist = expand_aliases(@bcclist); |