Bug 98648 - xdg-open does not support queries in file: URLs
Summary: xdg-open does not support queries in file: URLs
Alias: None
Product: Portland
Classification: Unclassified
Component: xdg-utils (show other bugs)
Version: unspecified
Hardware: Other All
: medium minor
Assignee: Portland Bugs
QA Contact:
Depends on:
Reported: 2016-11-09 00:04 UTC by Reuben Thomas
Modified: 2019-02-16 13:38 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Reuben Thomas 2016-11-09 00:04:09 UTC
This is not really xdg-open's fault. For example, I believe it works in KDE (as per bug #7863); but it doesn't work in GNOME, because gvfs-open doesn't support it.

xdg-open should (as usual) paper over the cracks here, by detecting queries (and anchors) in file: URLs, and improving open_generic to open them with a browser. This can be achieved by improving is_file_url_or_path to be, as it were, is_plain_file_url_or_path.

This bug prevents xdg-open being used in some places, e.g. as Racket's launcher (www.racket-lang.org).
Comment 1 GitLab Migration User 2019-02-16 13:38:15 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/xdg-utils/issues/101.

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.