<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - xdg-email: Recipients passed to Thunderbird are incorrectly quoted"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91996">91996</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>xdg-email: Recipients passed to Thunderbird are incorrectly quoted
</td>
</tr>
<tr>
<th>Product</th>
<td>Portland
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>xdg-utils
</td>
</tr>
<tr>
<th>Assignee</th>
<td>portland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>pelle@debian.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=118253" name="attach_118253" title="xdg-email-thunderbird-quoting.patch">attachment 118253</a> <a href="attachment.cgi?id=118253&action=edit" title="xdg-email-thunderbird-quoting.patch">[details]</a></span>
xdg-email-thunderbird-quoting.patch
For example, if I run:
xdg-email --to <a href="mailto:pelle@debian.org">pelle@debian.org</a>
Thunderbird opens a compose window with the To field set to '<a href="mailto:pelle@debian.org">pelle@debian.org</a>
<>'. I.e., it tries to e-mail somebody whose name is "<a href="mailto:pelle@debian.org">pelle@debian.org</a>" but
with an empty e-mail address.
The problem is that xdg-email quotes the recipient fields (even with BOTH
single and double quotes!). Removing the quotes fixes the problem. I have
attached a patch to do just that.
It might be the case that older versions of TB need the quotes (I run
Thunderbird (Icedove) 40.0). If anyone knows which versions need the quotes I
could implement a check for that.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>