[Portland-bugs] [Bug 40041] New: Thunderbird 5 needs unescaped addresses
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Aug 12 06:36:51 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=40041
Summary: Thunderbird 5 needs unescaped addresses
Product: Portland
Version: unspecified
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: xdg-utils
AssignedTo: portland-bugs at lists.freedesktop.org
ReportedBy: tbzatek at redhat.com
Created an attachment (id=50158)
View: https://bugs.freedesktop.org/attachment.cgi?id=50158
Review: https://bugs.freedesktop.org/review?bug=40041&attachment=50158
proposed patch
Thunderbird 5 (and probably also TB 3) expects unescaped strings passed for
To:, Cc: and BCc: fields. With the current xdg-email version Thunderbird uses
escaped strings as addresses. This is not true for Subject and Body fields
where strings are properly unescaped by TB itself. Truly inconsistent
behaviour.
The attached patch unescapes address fields back to plain text. I don't think
this is the cleanest solution but it's not intrusive at least. Proper way could
be to pass original strings directly (saving them aside when parsing
commandline args) but the script architecture would need to be altered.
Current behaviour:
> $ XDG_UTILS_DEBUG_LEVEL=99 ./xdg-email --to 'John Doe <nobody at example.cz>' --cc 'Copy machine <nobody at example.cz>' --bcc 'Big Brother <nobody at example.cz>' --subject 'Hello world!' --body 'Hi, this is the body.'
> Running thunderbird -compose "to='John%20Doe%20<nobody at example.cz>,',cc='Copy%20machine%20<nobody at example.cz>,',bcc='Big%20Brother%20<nobody at example.cz>,',subject=Hello%20world%21,body=Hi%2C%20this%20is%20the%20body."
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Portland-bugs
mailing list