Skip to content

Commit

Permalink
Sanitize @to recipients.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Robin H. Johnson authored and Junio C Hamano committed Apr 26, 2007
1 parent 56973d2 commit bf7af11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions git-send-email.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit bf7af11

Please sign in to comment.