[Portland-bugs] [Bug 109318] New: xdg-open does not accept file://localhost/ URIs
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jan 11 17:11:43 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=109318
Bug ID: 109318
Summary: xdg-open does not accept file://localhost/ URIs
Product: Portland
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: xdg-utils
Assignee: portland-bugs at lists.freedesktop.org
Reporter: rich.tollerton at ni.com
Presently, file://localhost/ URLs are totally unsupported: is_file_url_or_path
correctly considers them files, but they are undecoded and hence
check_input_file fails.
While the standardization surrounding file: URLs is admittedly vague [1],
AFAIK,
*all* literature, and other implementations, unambiguously demonstrate that
file://localhost/ should be equivalent to file:/// :
- The "File URI specification" explicitly linked to from the xdg-utils homepage
[2]
- RFC 8089 section 1.1
- RFC 1738 section 3.10
- Observed implementations of Windows `start`, macOS `open`, Firefox, Chrome,
IE
Proposed fix is in the merge request at
https://gitlab.freedesktop.org/xdg/xdg-utils/merge_requests/1 .
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/portland-bugs/attachments/20190111/b0b2999b/attachment.html>
More information about the Portland-bugs
mailing list