From: Robin H. Johnson Date: Thu, 26 Apr 2007 04:53:22 +0000 (-0700) Subject: Sanitize @to recipients. X-Git-Tag: v1.5.1.3~24 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bf7af1167411cbdd5ade7587a64b18d1b7b2ea69;p=git.git Sanitize @to recipients. We need to sanitize @to as well to ensure that names are properly quoted. Signed-off-by: Robin H. Johnson Signed-off-by: Junio C Hamano --- diff --git a/git-send-email.perl b/git-send-email.perl index 56c2936f2..12ced2888 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);