[Portland-bugs] [Bug 91996] xdg-email: Recipients passed to Thunderbird are incorrectly quoted

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 18 07:39:03 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91996

--- Comment #9 from Per Olofsson <pelle at debian.org> ---
(In reply to Rex Dieter from comment #6)
> OK, looks like the origins of this goes back to commit,
> http://cgit.freedesktop.org/xdg/xdg-utils/commit/
> ?id=31c9f61c608433bd38211bd6c68baac393afa983
> 
> to handle cases where there was punctuation (like comma's) in email
> addresses.  I'll try testing both cases.

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\" <pelle at dsv.su.se>"

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/portland-bugs/attachments/20150918/98fd21bd/attachment.html>


More information about the Portland-bugs mailing list