aboutsummaryrefslogtreecommitdiff
path: root/git-send-email.perl
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-05-21 13:09:31 -0700
committerJunio C Hamano <gitster@pobox.com>2008-05-21 13:09:31 -0700
commit2c0577f74b454e1f50ade0d318ee9b2374c7f35c (patch)
tree7ebba8626ff717462de19ad2d6ffe6d6a7f032f7 /git-send-email.perl
parent325abb7b1a5bf47b53e3ae1b585f11ebd6a9fea9 (diff)
parent18023c20656265364d4d1805f435e8420ab70687 (diff)
downloadgit-2c0577f74b454e1f50ade0d318ee9b2374c7f35c.tar.gz
git-2c0577f74b454e1f50ade0d318ee9b2374c7f35c.tar.xz
Merge branch 'hb/maint-send-email-quote-recipients'
* hb/maint-send-email-quote-recipients: Fix recipient santitization
Diffstat (limited to 'git-send-email.perl')
-rwxr-xr-xgit-send-email.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-send-email.perl b/git-send-email.perl
index 1e1d98656..f5a86d397 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -636,7 +636,7 @@ sub sanitize_address
# double quotes are needed if specials or CTLs are included
elsif ($recipient_name =~ /[][()<>@,;:\\".\000-\037\177]/) {
- $recipient_name =~ s/(["\\\r])/\\$1/;
+ $recipient_name =~ s/(["\\\r])/\\$1/g;
$recipient_name = "\"$recipient_name\"";
}