Bug 360923 - [compatibility] broken characters in subject, if it is splitted violating RFC
Summary: [compatibility] broken characters in subject, if it is splitted violating RFC
Status: CONFIRMED
Alias: None
Product: kdepim
Classification: Applications
Component: messagelist (show other bugs)
Version: GIT (master)
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-23 22:35 UTC by Vadim A. Misbakh-Soloviov (mva)
Modified: 2022-11-12 20:52 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot, that demonstrates the problem (6.42 KB, image/png)
2016-03-23 22:36 UTC, Vadim A. Misbakh-Soloviov (mva)
Details
(mbox-exported message from screenshot) (1.96 KB, application/mbox)
2016-03-23 22:36 UTC, Vadim A. Misbakh-Soloviov (mva)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim A. Misbakh-Soloviov (mva) 2016-03-23 22:35:14 UTC
Hi!
Unfortunately, it is 5 am here, so I can't remember (and can't google for it right now) the number of RFC describing subject header splitting rules, but I do remember, that it forbids splitting characters and states that split should be before the first byte of the character in that case.

And also I do remember, that there probably was similar bug in old kmail from the times of kde3.

Anyway, the problem is in that fact, that messagelist doesn't concat that splitted-in-the-middle characters in the Subject header, and render two (in case of utf8) diamonds instead.
Other clients (Thunderbird, Outlook and so on) do show it normally.

Attachments:
screenshot, demonstrating problem
mbox-exported message from screenshot (with stripped body, bue to sensitive content).

Reproducible: Always
Comment 1 Vadim A. Misbakh-Soloviov (mva) 2016-03-23 22:36:01 UTC
Created attachment 98049 [details]
Screenshot, that demonstrates the problem
Comment 2 Vadim A. Misbakh-Soloviov (mva) 2016-03-23 22:36:41 UTC
Created attachment 98050 [details]
(mbox-exported message from screenshot)
Comment 3 Vadim A. Misbakh-Soloviov (mva) 2016-03-23 22:39:13 UTC
As you can see in attached message, there is splits just in the middle of character (between 0xd0 byte and "informative" byte)
> =?utf-8?Q?=d0=b4=d0=b0_=d0=b2_=d1=86=d0=b5=d0=bd=d1=82=d1=80_=d0=bf=d0?=
> =?utf-8?Q?=be=d0=bb=d1=8c=d0=b7=d0=be=d0=b2=d0=b0=d1=82=d0=b5=d0=bb=d0?=

and exactly in that places messageviewer renders two diamonds instead of character.
Comment 4 Justin Zobel 2022-10-19 22:11:05 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 5 Bug Janitor Service 2022-11-03 05:07:52 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Vadim A. Misbakh-Soloviov (mva) 2022-11-12 20:52:29 UTC
Yes, I do.

Just tested with Kontact 5.21.2