Bug 36009 - xdg-open fails to open urls/files with embedded %20's
Summary: xdg-open fails to open urls/files with embedded %20's
Status: RESOLVED MOVED
Alias: None
Product: Portland
Classification: Unclassified
Component: xdg-utils (show other bugs)
Version: 1.0
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Portland Bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-05 15:48 UTC by Dave
Modified: 2019-02-16 13:30 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Dave 2011-04-05 15:48:54 UTC
Try to open a file in qbittorrent and the filename will have %20 instead of spaces, which fails in xdg-open with a 'file doesn't exist' error.

A simple workaround is to do something like this:

url=`echo "$url" | sed 's/%20/\\ /g'`

But this will probably mess up internet urls.

I don't know how widespread the problem is or whether it's only a problem with qbittorrent, but I thought it was worth reporting it.
Comment 1 GitLab Migration User 2019-02-16 13:30:40 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/44.


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.