summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-05-25 22:34:20 -0700
committerJunio C Hamano <gitster@pobox.com>2008-05-25 22:34:20 -0700
commit93c7b9c15965a083c02543010d0a643056261938 (patch)
tree22523f341bb859552f8d29fa26406091997eef4d
parent6abf189506712a0e3c5ea796d136177b8f24ca22 (diff)
parent18023c20656265364d4d1805f435e8420ab70687 (diff)
downloadgit-93c7b9c15965a083c02543010d0a643056261938.tar.gz
Merge branch 'hb/maint-send-email-quote-recipients' into maint
* hb/maint-send-email-quote-recipients: Fix recipient santitization
-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 be4a20d7cd..5630276f78 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -633,7 +633,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\"";
}