<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><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#c9">Comment # 9</a>
on <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">bug 91996</a>
from <span class="vcard"><a class="email" href="mailto:pelle@debian.org" title="Per Olofsson <pelle@debian.org>"> <span class="fn">Per Olofsson</span></a>
</span></b>
<pre>(In reply to Rex Dieter from <a href="show_bug.cgi?id=91996#c6">comment #6</a>)
<span class="quote">> OK, looks like the origins of this goes back to commit,
> <a href="http://cgit.freedesktop.org/xdg/xdg-utils/commit/">http://cgit.freedesktop.org/xdg/xdg-utils/commit/</a>
> ?id=31c9f61c608433bd38211bd6c68baac393afa983
>
> to handle cases where there was punctuation (like comma's) in email
> addresses. I'll try testing both cases.</span >
I think the patch author might be confused. This should be the correct way to
pass recipients with commas to xdg-email:
xdg-email --to "\"Per Olofsson, developer\" <<a href="mailto:pelle@dsv.su.se">pelle@dsv.su.se</a>>"
You always need to quote recipient names with commas, I'm pretty sure that's in
the RFC. The outer quotes in this case are for the shell, only the inner quotes
are passed to xdg-email.</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>