xdg-open fails to open URL when .desktop file path contains spaces
Hi!
My .desktop
file resides here and contains spaces:
~/.local/share/applications/userapp-Firefox Developer Edition-UV383Z.desktop
While using xdg-open
I encounter the following error:
$ BROWSER=firefox ./xdg-open https://google.com
./xdg-open: 1: ./xdg-open: xdg-mime: not found
./xdg-open: 881: ./xdg-open: firefox: not found
./xdg-open: 881: ./xdg-open: firefox: not found
xdg-open: no method available for opening 'https://google.com'
I will post a merge request following the opening of this issue to try and fix it.
Thanks!