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>
Robin H. Johnson committed
Apr 25, 2007 at 21:53 UTC
bf7af1167411cbdd5ade7587a64b18d1b7b2ea69
1 file changed
+1
git-send-email.perl
+1
@@ -274,6 +274,7 @@ sub expand_aliases {
274
}
275
276
@to = expand_aliases(@to);
277
+@to = (map { sanitize_address_rfc822($_) } @to);
278
@initial_cc = expand_aliases(@initial_cc);
279
@bcclist = expand_aliases(@bcclist);
280