Created attachment 1636 [details] mail with invalid subject triggering bug I discovered something odd: A mail I got that had an obviously invalid subject containing multiple encodings and a probably invalid utf-8 character (quoted-printable encoded) was displayed as a multiline subject in the message list. This obviously distorts the view, because a multiline subject will spread over other messages in the list. I have attached a sample message and a screenshot of the phenomen. This is an example subject line causing this: Subject: =?utf-8?Q?YYYYYYYYYYYYYYYY=E2=80=A8?= =?utf-8?Q?YYYYYYYYYYYYYYYY=E2=80=A8?= =?utf-8?Q?YYYYYYYYYYYYYYYY=E2=80=A8?= Not sure why this happens, but it seems obvious that claws-mail should not try to render multiple lines in the subject of the message list.
Created attachment 1637 [details] screenshot of message list
*** This bug has been marked as a duplicate of bug 3213 ***
Changes related to this bug have been committed. Please check latest Git and update the bug accordingly. You can also get the patch from: http://git.claws-mail.org/ ++ ChangeLog 2016-03-30 18:23:03.018202487 +0200 http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=6c4ba34671ae49021c950d4fc840f2dd1245672b Merge: 93ba792 73e0a2e Author: Colin Leroy <colin@colino.net> Date: Wed Mar 30 18:23:02 2016 +0200 Merge branch 'master' of file:///home/git/claws http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=73e0a2e64074bab0b6abfde58fdf569b183dde5d Author: Andrej Kacian <ticho@claws-mail.org> Date: Wed Mar 30 18:21:08 2016 +0200 Rewrite unfold_line() to handle UTF8 line breaks. This closes bug #3629 - Invalid subject can distort message list view