After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 323142 - Signature missing when handling mailto: URI with body part
Signature missing when handling mailto: URI with body part
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.4.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[composer] evolution[signatu...
: 554322 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-12-03 21:03 UTC by Karsten Bräckelmann
Modified: 2010-08-12 16:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A Python script to work around Evo's limitations with raw mailto: URIs (558 bytes, application/octet-stream)
2009-08-27 08:48 UTC, Jani Uusitalo
Details

Description Karsten Bräckelmann 2005-12-03 21:03:31 UTC
When Evo is called with a mailto: URI with a body part, the Signature is not
being added. Even though the Signature dropdown shows the default accounts
signature name, there is none.

evolution-2.4 "mailto:user@host.com?body=body"

Expected behavior:
* Add the Signature.

Additional Info:
* See this thread on the mailing list:
  http://mail.gnome.org/archives/evolution-list/2005-November/msg00207.html
Comment 1 Karsten Bräckelmann 2005-12-03 21:05:03 UTC
See bug #323143 for a related issue.
Comment 2 André Klapper 2005-12-05 15:06:55 UTC
confirming, cannot find a duplicate in bugzilla
Comment 3 Matthew Barnes 2008-12-02 04:44:53 UTC
*** Bug 554322 has been marked as a duplicate of this bug. ***
Comment 4 Jani Uusitalo 2009-08-27 08:48:38 UTC
Created attachment 141833 [details]
A Python script to work around Evo's limitations with raw mailto: URIs

Apparently this is caused by the message body, and thus also the signature therein, being completely overridden by the body specified in the mailto: URI. Not sure if this is still an issue, but in Evo 2.22.3.1 (Debian Lenny) I've worked around this with the script I'm attaching here. It's a piece of Python I modified from http://ubuntuforums.org/showthread.php?t=252330#3.

The script also takes care of the problem of URIs with ampersands in the message body being cut short, which is a separate issue and one that I so far haven't found a report on.

I've never used Python before so please take the script with a grain of salt.
Comment 5 Matthew Barnes 2010-08-12 16:24:11 UTC
Easy enough fix, hopefully this doesn't break anything (as messing with mailto: handling tends to).

Fixed for 2.31.90 in:
http://git.gnome.org/browse/evolution/commit/?id=5f49fa2561433c08a1f0450365b764ebfff3f611