xdg-utils 1.0.2, FreeBSD 8.0-BETA i386. # xdg-open "http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/applications.html#PORTS-MAJOR-UPGRADE" sed: 1: "s#%s#http://www.freebsd ...": bad flag in substitute command: 'P' xdg-open:367: browser_with_arg=`echo "$browser" | sed s#%s#"$1"#` obviously, $1 should be escaped, or (likely better) printf should be used instead of echo.
related to bug 20015: http://bugs.freedesktop.org/show_bug.cgi?id=20015 we should fix both issue at the same time.
FYI, fix used in FreeBSD for the time being: http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/xdg-utils/files/patch-scripts_xdg-open?rev=1.2;content-type=text%2Fplain
*** Bug 24375 has been marked as a duplicate of this bug. ***
http://webcvs.freedesktop.org/portland/portland/xdg-utils/scripts/xdg-open?r1=1.35&r2=1.36
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.