Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'hb/maint-send-email-quote-recipients' into maint
author
Junio C Hamano
<gitster@pobox.com>
Mon, 26 May 2008 05:34:20 +0000
(22:34 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 26 May 2008 05:34:20 +0000
(22:34 -0700)
* hb/maint-send-email-quote-recipients:
Fix recipient santitization
git-send-email.perl
patch
|
blob
|
history
raw
(from parent 1:
6abf189
)
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
@@
-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\"";
}