[Portland-bugs] [Bug 46002] xdg-open replaces "&" with "%U" in URLs
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Feb 28 12:27:48 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=46002
--- Comment #1 from Cyprien Nicolas <c.nicolas+bugs-freedesktop at gmail.com> 2012-02-28 12:27:48 PST ---
Created attachment 57778
--> https://bugs.freedesktop.org/attachment.cgi?id=57778
Correction suggested in comment #0
Annoying bug actually.
The summary is not quite right, it should be xdg-open: open_generic_xdg_mime
replaces "&" with %[fFuU] depending on what has been found in the .desktop file
The issue is due to sed replacing any '&' character in the replacement
expression by the matched expression. This resulting having all the &
characters replaced by the %U or %F that has to be replaced in the argument
list.
I attach a patch for the correction proposed in comment #0, successfully tested
on my machine.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Portland-bugs
mailing list