Bug 36009

Summary: xdg-open fails to open urls/files with embedded %20's
Product: Portland Reporter: Dave <dave>
Component: xdg-utilsAssignee: Portland Bugs <portland-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: bugs, freedesktop.zen.ssokolow
Version: 1.0   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

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.