diff options
author | Krzysztof Mazur <krzysiek@podlesie.net> | 2012-10-24 23:28:29 +0200 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2012-10-25 06:06:00 -0400 |
commit | ce1459f740a591c63697ff6ff3c106123630539c (patch) | |
tree | f457642e490ecc8d1f94a5254f6646679610b8a7 /git-send-email.perl | |
parent | ce5478006c7318f12e6b2abeb0c0477009db63b5 (diff) | |
download | git-ce1459f740a591c63697ff6ff3c106123630539c.tar.gz |
git-send-email: add rfc2047 quoting for "=?"
For raw subjects rfc2047 quoting is needed not only for non-ASCII characters,
but also for any possible rfc2047 in it.
Signed-off-by: Krzysztof Mazur <krzysiek@podlesie.net>
Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 'git-send-email.perl')
-rwxr-xr-x | git-send-email.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-send-email.perl b/git-send-email.perl index 1574675d1d..5a7c29db93 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -908,7 +908,7 @@ sub is_rfc2047_quoted { sub subject_needs_rfc2047_quoting { my $s = shift; - return ($s =~ /[^[:ascii:]]/); + return ($s =~ /[^[:ascii:]]/) || ($s =~ /=\?/); } sub quote_subject { |