Browse Source

Merge branch 'hb/maint-send-email-quote-recipients'

* hb/maint-send-email-quote-recipients:
  Fix recipient santitization
maint
Junio C Hamano 17 years ago
parent
commit
2c0577f74b
  1. 2
      git-send-email.perl

2
git-send-email.perl

@ -636,7 +636,7 @@ sub sanitize_address @@ -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\"";
}


Loading…
Cancel
Save