[xdg-email] Percent encoding problems

Rex Dieter rdieter at math.unl.edu
Sat Aug 23 07:16:49 PDT 2014


Michael Bäuerle wrote:

> The problem is that the '-' character is used literally inside a regex
> bracket expression (where it has the meaning of a range, like in "a-z"),
> look at [3] (Paragraph 7) for the syntax definition.
> The resulting range spans over the '?' character and prevents its
> percent encoding.

Testing myself, I cannot reproduce the problem you describe.  Can you give a 
reproducible example?

I tried:

xdg-email rdieter-foo at bar.com

and my email client opens correctly (with rdieter-foo at bar.com as expected, 
instead of something percent-encoded as you suggested would happen).

Fwiw, it happens the same for me whether I include your suggested fix or 
not.

-- Rex



More information about the xdg mailing list