Re: [PATCH v2 1/2] send-email: align RFC 2047 decoding more closely with the spec

2014-12-15 Thread Junio C Hamano
Thanks; queued both patches. -- To unsubscribe from this list: send the line unsubscribe git in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH v2 1/2] send-email: align RFC 2047 decoding more closely with the spec

2014-12-14 Thread Роман Донченко
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. *

[PATCH v2 1/2] send-email: align RFC 2047 decoding more closely with the spec

2014-12-06 Thread Роман Донченко
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. *