Skip to content

Commit 93c7b9c

Browse files
committed
Merge branch 'hb/maint-send-email-quote-recipients' into maint
* hb/maint-send-email-quote-recipients: Fix recipient santitization
2 parents 6abf189 + 18023c2 commit 93c7b9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-send-email.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ sub sanitize_address
633633

634634
# double quotes are needed if specials or CTLs are included
635635
elsif ($recipient_name =~ /[][()<>@,;:\\".\000-\037\177]/) {
636-
$recipient_name =~ s/(["\\\r])/\\$1/;
636+
$recipient_name =~ s/(["\\\r])/\\$1/g;
637637
$recipient_name = "\"$recipient_name\"";
638638
}
639639

0 commit comments

Comments
 (0)