diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2007-04-26 06:53:22 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-04-26 08:18:17 +0200 |
commit | bf7af1167411cbdd5ade7587a64b18d1b7b2ea69 (patch) | |
tree | 685b8396ac6d139dafdd32db233950983d9e0b79 | |
parent | git-svn: Ignore usernames in URLs in find_by_url (diff) | |
download | git-bf7af1167411cbdd5ade7587a64b18d1b7b2ea69.tar.xz git-bf7af1167411cbdd5ade7587a64b18d1b7b2ea69.zip |
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>
-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); |