Bug 24375 - xdg-open can't handle URIs with #fragment part
Summary: xdg-open can't handle URIs with #fragment part
Status: RESOLVED FIXED
Alias: None
Product: Portland
Classification: Unclassified
Component: xdg-utils (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: Portland Bugs
QA Contact:
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2009-10-07 06:15 UTC by Dmytro
Modified: 2009-10-12 07:06 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
quick'n'dirty solution (576 bytes, patch)
2009-10-07 06:15 UTC, Dmytro
Details | Splinter Review

Description Dmytro 2009-10-07 06:15:23 UTC
Created attachment 30140 [details] [review]
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.
Comment 1 Fathi Boudra 2009-10-12 05:51:42 UTC

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


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.