git/t/t5100
Jay Soffian 87f1b8849b mailinfo: feed only one line to handle_filter() for QP input
The function is intended to be fed one logical line at a time to
inspect, but a QP encoded raw input line can have more than one
lines, just like BASE64 encoded one.

Quoting LF as =0A may be unusual but RFC2045 allows it.

The issue was noticed and fixed by Jay Soffian.  JC added a test
to protect the fix from regressing later.

Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2008-02-15 22:16:34 -08:00
..
info0001 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
info0002 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
info0003 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
info0004 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
info0005 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
info0006 mailinfo: do not get confused with logical lines that are too long. 2007-02-27 01:02:32 -08:00
info0007 Add a couple more test cases to the suite. 2007-03-12 23:33:41 -07:00
info0008 Add a couple more test cases to the suite. 2007-03-12 23:33:41 -07:00
info0009 mailinfo: feed only one line to handle_filter() for QP input 2008-02-15 22:16:34 -08:00
msg0001 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
msg0002 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
msg0003 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
msg0004 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
msg0005 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
msg0006 mailinfo: do not get confused with logical lines that are too long. 2007-02-27 01:02:32 -08:00
msg0007 Add a couple more test cases to the suite. 2007-03-12 23:33:41 -07:00
msg0008 Add a couple more test cases to the suite. 2007-03-12 23:33:41 -07:00
msg0009 mailinfo: feed only one line to handle_filter() for QP input 2008-02-15 22:16:34 -08:00
patch0001 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
patch0002 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
patch0003 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
patch0004 t5100: mailinfo and mailsplit tests. 2006-06-17 16:26:20 -07:00
patch0005 git-mailinfo fixes for patch munging 2007-03-31 00:59:19 -07:00
patch0006 mailinfo: do not get confused with logical lines that are too long. 2007-02-27 01:02:32 -08:00
patch0007 Add a couple more test cases to the suite. 2007-03-12 23:33:41 -07:00
patch0008 Add a couple more test cases to the suite. 2007-03-12 23:33:41 -07:00
patch0009 mailinfo: feed only one line to handle_filter() for QP input 2008-02-15 22:16:34 -08:00
sample.mbox mailinfo: feed only one line to handle_filter() for QP input 2008-02-15 22:16:34 -08:00