Dear Maintainer,
* What led up to the situation?
Create one file and one folder with names that contain double quotes '"':
/tmp/"file".txt (is a FILE)
/tmp/"folder" (is a FOLDER)
* What exactly did you do (or not do) that was effective (or
ineffective)?
Calling xdg-open on both of these paths.
* What was the outcome of this action?
In the case of the file, xdg-open launched an editor/viewer for the file --
this is the expected and correct behaviour.
In the case of the directory, xdg-open launched a file browser with a BOGUS
PATH:
/tmp/"folder" got opened as /tmp/fileW55Y0D/ with subsequent invocations of
xdg-open
yielding different bogus paths of the same format (prefix + 6 character
suffix).
In both cases, special attention was being given to use proper shell quoting:
xdg-open \"file\".txt
xdg-open \"folder\"
The quoting works properly with other applications.
The result is the same regardless of whether relative or absolute paths are
being used.
* What outcome did you expect instead?
In the case of the directory, the file browser application should be opened
with the
path to the specified folder instead of a bogus path.