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 [email protected]

and my email client opens correctly (with [email protected] 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

_______________________________________________
xdg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to