[Portland-bugs] [Bug 24375] New: xdg-open can't handle URIs with #fragment part
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Oct 7 06:15:23 PDT 2009
http://bugs.freedesktop.org/show_bug.cgi?id=24375
Summary: xdg-open can't handle URIs with #fragment part
Product: Portland
Version: unspecified
Platform: Other
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: xdg-utils
AssignedTo: portland-bugs at lists.freedesktop.org
ReportedBy: dimich.dmb at gmail.com
Created an attachment (id=30140)
--> (http://bugs.freedesktop.org/attachment.cgi?id=30140)
quick'n'dirty solution
Passing URI with <sharp> character (#) to xdg-open causes the error:
$ xdg-open "http://example.com#anchor"
sed: -e expression #1, char 25: unknown option to `s'
because <sharp> character is used as argument delimiter for sed `s' command.
Proposed patch is in attachment, but i'm not sure that it is best solution.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Portland-bugs
mailing list