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: NEW
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: 2011-12-22 02:44 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.


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.