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>

Krzysztof Mazur committed Oct 24, 2012 at 23:28 UTC ce1459f740a591c63697ff6ff3c106123630539c
1 file changed +1 -1
git-send-email.perl
+1 -1
@@ -908,7 +908,7 @@ sub is_rfc2047_quoted {
908 sub subject_needs_rfc2047_quoting {
909 my $s = shift;
910
911 - return ($s =~ /[^[:ascii:]]/);
911 + return ($s =~ /[^[:ascii:]]/) || ($s =~ /=\?/);
912 }
913
914 sub quote_subject {