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'
author
Junio C Hamano
<gitster@pobox.com>
Wed, 21 May 2008 20:09:31 +0000
(13:09 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 21 May 2008 20:09:31 +0000
(13:09 -0700)
* hb/maint-send-email-quote-recipients:
Fix recipient santitization
git-send-email.perl
patch
|
blob
|
history
raw
(from parent 1:
325abb7
)
diff --git
a/git-send-email.perl
b/git-send-email.perl
index 1e1d98656d645371612cac02abad4ea33757d40e..f5a86d39796b3cdc8e996cc1db259edf4475ef6c 100755
(executable)
--- 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\"";
}