Bug 4670 - To/CC incorrectly escaped with a trailing backslash
Summary: To/CC incorrectly escaped with a trailing backslash
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail
Classification: Unclassified
Component: SMTP (show other bugs)
Version: 4.1.1
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2023-04-17 22:07 UTC by kuba
Modified: 2023-04-18 16:46 UTC (History)
0 users

See Also:


Attachments

Description kuba 2023-04-17 22:07:48 UTC
Using the string "linux-arm-kernel@lists.infradead.org" followed by multiple spaces as a name in the To/CC list leads to the closing quote being escaped: "linux-arm-kernel@lists.infradead.org\"
Which in turn leads to invalid address rejected by mailing lists / servers etc.

It happens regardless of the mail address, so for instance:
To: "linux-arm-kernel@lists.infradead.org"                    <your@address.com>
will also get mis-escaped (making this problem very easy to repro).

It does _not_ happen when there's only one space between closing " and <, so this:
To: "linux-arm-kernel@lists.infradead.org" <your@address.com>
seems to work just fine.
Comment 2 kuba 2023-04-18 16:46:41 UTC
Awesome, thank you!!

Note You need to log in before you can comment on or make changes to this bug.