Skip to content

Commit

Permalink
Merge branch 'hb/maint-send-email-quote-recipients' into maint
Browse files Browse the repository at this point in the history
* hb/maint-send-email-quote-recipients:
  Fix recipient santitization
  • Loading branch information
Junio C Hamano committed May 26, 2008
2 parents 6abf189 + 18023c2 commit 93c7b9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-send-email.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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\"";
}

Expand Down

0 comments on commit 93c7b9c

Please sign in to comment.