diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-01-08 00:06:47 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-01-08 00:06:47 +0300 |
commit | 948e81408d29be0d39b55d5da41a6c7c9b93fbc0 (patch) | |
tree | e80801eae27fdc36b81bbc349201c2de9ce2e255 /t | |
parent | e82f629cf40795e7780329f056fc3df2d6adc97b (diff) | |
parent | ab47e2a583917ecef5da269cc640f8359c8467ac (diff) |
Merge branch 'rd/send-email-2047-fix'
"git send-email" did not handle RFC 2047 encoded headers quite
right.
* rd/send-email-2047-fix:
send-email: handle adjacent RFC 2047-encoded words properly
send-email: align RFC 2047 decoding more closely with the spec
Diffstat (limited to 't')
-rwxr-xr-x | t/t9001-send-email.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh index e37efef5ca..a8773bdf37 100755 --- a/t/t9001-send-email.sh +++ b/t/t9001-send-email.sh @@ -242,6 +242,13 @@ test_expect_success $PREREQ 'non-ascii self name is suppressed' " 'non_ascii_self_suppressed' " +# This name is long enough to force format-patch to split it into multiple +# encoded-words, assuming it uses UTF-8 with the "Q" encoding. +test_expect_success $PREREQ 'long non-ascii self name is suppressed' " + test_suppress_self_quoted 'Ƒüñníęř €. Nâṁé' 'odd_?=mail@example.com' \ + 'long_non_ascii_self_suppressed' +" + test_expect_success $PREREQ 'sanitized self name is suppressed' " test_suppress_self_unquoted '\"A U. Thor\"' 'author@example.com' \ 'self_name_sanitized_suppressed' |