summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLibravatar Роман Донченко <dpb@corrigendum.ru>2014-12-14 18:59:46 +0300
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-12-15 09:06:39 -0800
commit11f70a7e29ff7167e89aad186d763a4b017e48d9 (patch)
tree605fb0632611058e5766072451dfd17aa4920a04 /templates
parentMerge branch 'maint-1.9' into maint-2.0 (diff)
downloadtgif-11f70a7e29ff7167e89aad186d763a4b017e48d9.tar.xz
send-email: align RFC 2047 decoding more closely with the spec
More specifically: * Add "\" to the list of characters not allowed in a token (see RFC 2047 errata). * Share regexes between unquote_rfc2047 and is_rfc2047_quoted. Besides removing duplication, this also makes unquote_rfc2047 more stringent. * Allow both "q" and "Q" to identify the encoding. * Allow lowercase hexadecimal digits in the "Q" encoding. And, more on the cosmetic side: * Change the "encoded-text" regex to exclude rather than include characters, for clarity and consistency with "token". Signed-off-by: Роман Донченко <dpb@corrigendum.ru> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates')
0 files changed, 0 insertions, 0 deletions