Re: [PATCH RFC] mailinfo: correctly handle multiline 'Subject:' header
- From
- Alexander Potashev <aspotashev@gmail.com>
- Date
- Jan 8, 2009, 10:08 UTC
- Message-ID
- <20090108100813.GA15640@myhost>
- In-Reply-To
- <1230316721-14339-1-git-send-email-kirr@mns.spb.ru>
On 21:38 Fri 26 Dec , Kirill Smelkov wrote:
Show 8 quoted lines
> When native language (RU) is in use, subject header usually contains several > parts, e.g. > > Subject: [Navy-patches] [PATCH] > =?utf-8?b?0JjQt9C80LXQvdGR0L0g0YHQv9C40YHQvtC6INC/0LA=?= > =?utf-8?b?0LrQtdGC0L7QsiDQvdC10L7QsdGF0L7QtNC40LzRi9GFINC00LvRjyA=?= > =?utf-8?b?0YHQsdC+0YDQutC4?= >
Show 5 quoted lines
> t/t5100/info0012 | 5 ++++ > t/t5100/msg0012 | 7 ++++++ > t/t5100/patch0012 | 30 +++++++++++++++++++++++++++++ > t/t5100/sample.mbox | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++ > 6 files changed, 112 insertions(+), 2 deletions(-)
The testcases are too long, a minimal mbox with encoded "Subject:" would be enough to test the mailinfo parser, it's all the you need to test here.