I made a fix for this bug. Hopefully someone can test and upload it to the servers.
Jeroen Diederen
xdg-utils_1.1.3-1.1.debian.tar.xz
Description: application/xz
diff -Nru xdg-utils-1.1.3/debian/changelog xdg-utils-1.1.3/debian/changelog --- xdg-utils-1.1.3/debian/changelog 2018-05-20 00:18:48.000000000 +0200 +++ xdg-utils-1.1.3/debian/changelog 2019-09-08 07:27:28.000000000 +0200 @@ -1,3 +1,10 @@ +xdg-utils (1.1.3-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fixed bug #908760 in scripts/xdg-open.in + + -- Jeroen Diederen <jjhdiede...@zonnet.nl> Sun, 08 Sep 2019 07:27:28 +0200 + xdg-utils (1.1.3-1) unstable; urgency=medium * New upstream release. diff -Nru xdg-utils-1.1.3/debian/patches/debian-changes xdg-utils-1.1.3/debian/patches/debian-changes --- xdg-utils-1.1.3/debian/patches/debian-changes 2018-05-20 00:18:48.000000000 +0200 +++ xdg-utils-1.1.3/debian/patches/debian-changes 2019-09-08 07:27:28.000000000 +0200 @@ -99,3 +99,12 @@ fi if [ $? -eq 0 ]; then +@@ -451,7 +450,7 @@ open_lxde() + { + + # pcmanfm only knows how to handle file:// urls and filepaths, it seems. +- if pcmanfm --help >/dev/null 2>&1 -a is_file_url_or_path "$1"; then ++ if pcmanfm --help >/dev/null 2>&1 && is_file_url_or_path "$1"; then + local file="$(file_url_to_path "$1")" + + # handle relative paths
xdg-utils_1.1.3-1.1.dsc
Description: Binary data
xdg-utils_1.1.3-1.1_powerpc.build
Description: Binary data
xdg-utils_1.1.3-1.1_source.buildinfo
Description: Binary data
xdg-utils_1.1.3-1.1_source.changes
Description: Binary data