From 841f966b8d54b2f51ab1c498eed6e5391f2546a9 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Sun, 4 Nov 2018 14:06:03 +0000 Subject: parser: Ensure whitespace is stripped for long headers RFC2822 states that long headers can be wrapped using CRLF followed by WSP [1]. For example: Subject: Foo bar, baz Should be parsed as: Foo bar,baz While we were stripping the former, we were not stripping the latter. This mean that we ended up with the following: Foo bar, baz Resolve this. Signed-off-by: Stephen Finucane Closes: #197 --- releasenotes/notes/issue-197-4f7594db1e4c9887.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 releasenotes/notes/issue-197-4f7594db1e4c9887.yaml (limited to 'releasenotes') diff --git a/releasenotes/notes/issue-197-4f7594db1e4c9887.yaml b/releasenotes/notes/issue-197-4f7594db1e4c9887.yaml new file mode 100644 index 0000000..2777fbc --- /dev/null +++ b/releasenotes/notes/issue-197-4f7594db1e4c9887.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + Long headers can be wrapped using CRLF followed by WSP (whitespace). This + whitespace was not being stripped, resulting in errant whitespace being + saved for the patch subject. This is resolved though existing patches and + cover letters will need to be updated manually. -- cgit v1.2.3