projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56973d2
)
Sanitize @to recipients.
author
Robin H. Johnson
<robbat2@gentoo.org>
Thu, 26 Apr 2007 04:53:22 +0000
(21:53 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Thu, 26 Apr 2007 06:18:17 +0000
(23:18 -0700)
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>
git-send-email.perl
patch
|
blob
|
history
diff --git
a/git-send-email.perl
b/git-send-email.perl
index 56c2936f272bb51ee476d55c4a8cfa8344f713c5..12ced288857c7531f964d2e08e9a7c3cc1136dbd 100755
(executable)
--- 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);