Bug 44873 - URI scheme handlers not invoked by xdg-open
Summary: URI scheme handlers not invoked by xdg-open
Status: RESOLVED DUPLICATE of bug 35700
Alias: None
Product: Portland
Classification: Unclassified
Component: xdg-utils (show other bugs)
Version: 1.1.0 rc3
Hardware: All Linux (All)
: medium normal
Assignee: Portland Bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-17 14:40 UTC by Jon Gjengset
Modified: 2012-01-17 14:48 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Patch that enables xdg-open to handle non-file URIs (1.13 KB, patch)
2012-01-17 14:40 UTC, Jon Gjengset
Details | Splinter Review

Description Jon Gjengset 2012-01-17 14:40:27 UTC
Created attachment 55700 [details] [review]
Patch that enables xdg-open to handle non-file URIs

xdg-open currently ignores any URIs passed to it that are not paths to local files (file://). There is already an established method for finding the MIME type of such URIs, namely "x-scheme-handler/$scheme" where $scheme is the scheme of the URI.

Attached is a patch that makes xdg-open handle URIs with any scheme by constructing the MIME type string as above, and then calling xdg-mime query default to find an application that can handle the given URI.

Cheers,
Jon Gjengset
Comment 1 Jon Gjengset 2012-01-17 14:42:32 UTC
Arch Linux forum thread: https://bbs.archlinux.org/viewtopic.php?pid=1042599
Comment 2 Jon Gjengset 2012-01-17 14:44:35 UTC
Never mind, I see that this has been fixed in: http://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=8c2615d3e470790eeb153ac520b22c21c189be77
and
http://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=5010c394ca7dd443cefd63b764687f98c2353577

When can we expect a release containing these changes?
Comment 3 Jon Gjengset 2012-01-17 14:48:24 UTC

*** This bug has been marked as a duplicate of bug 35700 ***


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.