Rex Dieter wrote: > 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-...@bar.com > > and my email client opens correctly (with rdieter-...@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.
My mail client testing this (thunderbird) was handling the percent-encoded input for me :-/ After adding some extra debugging I do see that unpatched code was passing on: mailto:rdieter%2d...@bar.com Which mail client(s) did you use that didnt handle this? _______________________________________________ xdg mailing list xdg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xdg