Subject not filled when CC and Subject in mailto Link

Bug #581715 reported by Christoph Langner
This bug report is a duplicate of:  Bug #839735: desktop-webmail: GMail URL failes. Edit Remove
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
desktop-webmail (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: desktop-webmail

When i click on this...

<a href="mailto:<email address hidden>?<email address hidden>&amp;subject=Hallo%20Fritz,%20hallo%20Heidi">cc und Subject</a>

...link desktop-webmail fills the to- and cc-fields, but not the subject line. Tested with Google Mail and Chromium.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: desktop-webmail 002-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
NonfreeKernelModules: nvidia wl
Architecture: i386
Date: Mon May 17 15:02:21 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100224.1)
ProcEnviron:
 PATH=(custom, user)
 LANG=de_DE.utf8
 SHELL=/bin/bash
SourcePackage: desktop-webmail

Revision history for this message
Christoph Langner (chrissss) wrote :
Joel Ebel (jbebel)
Changed in desktop-webmail (Ubuntu):
status: New → Confirmed
tags: added: glucid
Revision history for this message
Joel Ebel (jbebel) wrote :

I don't know about the other webmail systems, but gmail doesn't appear to handle multiple parameters. Here's a simple test:

desktop-webmail "mailto:?subject=SUBJECT&body=BODY"

This opens the following URL:
https://mail.google.com/mail/?extsrc=mailto&url=mailto:?subject=SUBJECT&body=BODY

If you put that directly in chrome or firefox, the body doesn't get set. However, this URL does work:

https://mail.google.com/mail/?extsrc=mailto&url=mailto:?subject=SUBJECT%26body=BODY

Likewise, encoding the '&' to %26 in the url given to desktop-webmail, this works:

desktop-webmail "mailto:?subject=SUBJECT%26body=BODY"

Perhaps desktop-webmail should be responsible for converting the '&' to %26. It doesn't seem like this should be the responsibility of xdg-open or gnome-open.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.