[Portland-bugs] [Bug 36009] New: xdg-open fails to open urls/files with embedded %20's
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Apr 5 15:48:54 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=36009
Summary: xdg-open fails to open urls/files with embedded %20's
Product: Portland
Version: 1.0
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: xdg-utils
AssignedTo: portland-bugs at lists.freedesktop.org
ReportedBy: dave at dawoodfall.net
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.
--
Configure bugmail: https://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