From 87f1b8849bf0094e0b20cd294e1f2b04976ddf41 Mon Sep 17 00:00:00 2001 From: Jay Soffian Date: Fri, 15 Feb 2008 16:53:36 -0500 Subject: 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 Signed-off-by: Junio C Hamano --- t/t5100/info0009 | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 t/t5100/info0009 (limited to 't/t5100/info0009') diff --git a/t/t5100/info0009 b/t/t5100/info0009 new file mode 100644 index 000000000..2a66321c8 --- /dev/null +++ b/t/t5100/info0009 @@ -0,0 +1,5 @@ +Author: F U Bar +Email: f.u.bar@example.com +Subject: updates +Date: Mon, 17 Sep 2001 00:00:00 +0900 + -- cgit v1.2.1