summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e4d594c)
raw | patch | inline | side by side (parent: e4d594c)
author | Horst H. von Brand <vonbrand@inf.utfsm.cl> | |
Fri, 28 Mar 2008 14:09:04 +0000 (11:09 -0300) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 21 May 2008 20:05:50 +0000 (13:05 -0700) |
Need to quote all special characters, not just the first one
Signed-off-by: Horst H. von Brand <vonbrand@inf.utfsm.cl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Horst H. von Brand <vonbrand@inf.utfsm.cl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl | patch | blob | history |
diff --git a/git-send-email.perl b/git-send-email.perl
index be4a20d7cd562e9b00d93fe71313aed70afe50af..5630276f78da78599c07354697b23228a1205ee3 100755 (executable)
--- a/git-send-email.perl
+++ b/git-send-email.perl
# 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\"";
}