Summary: | Comma inside Quotation Marks in Recipient Name ("To" field) leads to the Recipient being dropped. | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Jayesh Badwaik (FZ Juelich) <j.badwaik> |
Component: | composer | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | grave | CC: | montel |
Priority: | NOR | ||
Version: | 5.16.1 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jayesh Badwaik (FZ Juelich)
2021-03-03 20:04:57 UTC
This line seems to be the issue: https://github.com/KDE/kmail/blob/2b953d990fd7db69d1192171e92a40eee6a0b4aa/src/editor/kmcomposerwin.cpp#L557 const QStringList lst = info.to.split(QLatin1Char(',')); (In reply to Jayesh Badwaik (FZ Juelich) from comment #1) > This line seems to be the issue: > https://github.com/KDE/kmail/blob/2b953d990fd7db69d1192171e92a40eee6a0b4aa/ > src/editor/kmcomposerwin.cpp#L557 > > const QStringList lst = info.to.split(QLatin1Char(',')); Hi, for sure not :) "void KMComposerWin::insertSnippetInfo(const MailCommon::SnippetInfo &info)" but indeed this line can create some problem. I will fix pb here. What is the problem exactly ? mail is not sending ? Git commit c2faa6588fa880e30820282049fa51914ea82ba5 by Laurent Montel. Committed on 04/03/2021 at 06:03. Pushed by mlaurent into branch 'master'. Fix extra mails M +3 -3 src/editor/kmcomposerwin.cpp https://invent.kde.org/pim/kmail/commit/c2faa6588fa880e30820282049fa51914ea82ba5 Could you send me your log (verify that there is not password and co) in private email. Here it's ok. I have sent you the mail. I have been able to reproduce this on multiple machines (all Archlinux though). But since you say it is okay on your end, I need to check if this is an Archlinux problem. Let me check with Ubuntu machines. The intended commit does not solve the bug: https://invent.kde.org/pim/kmail/commit/c2faa6588fa880e30820282049fa51914ea82ba5 From what I see, I cannot insert a `,` in my addresses anymore. But if someone sends me an email where the address list as a comma in it, and I click "Reply" to that email. Then, the comma remains in the address field and causes issues. This issue is now solved. Thanks a lot. |