desktop-webmail: Malformed recipe (%t)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
desktop-webmail (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
1) Ubuntu release: 11.04
2)
- Package version: 002-0ubuntu2
- 'mailto:
3) Expected behaviour:
- Desktop-webmail is preferred system mail client
- Calling 'desktop-webmail <email address hidden>' OR 'desktop-webmail mailto:<email address hidden>'
should open a browser instance and point to the selected mail provider with the recipe field pre-filled
with <email address hidden>
4) What happens:
- As desktop-webmail only supports a parameter of the format 'mailto:<email address hidden>...'
gchar* parse = g_strdup (mailto + strlen ("mailto:"));
when called with a parameter '<email address hidden>' the recipe field is cut of to remain 'ample.com'
I attached a patch that fixes this and also allows parameters with and without 'mailto:
I forgot to state, that calling desktop-webmail without 'mailto: '-prefix seems to be system's default behaviour, and so leads to this bogus behaviour.