[Portland-bugs] [Bug 63153] New: Unnecessary filtering file:// for pcmanfm
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Apr 5 02:52:37 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=63153
Priority: medium
Bug ID: 63153
Assignee: portland-bugs at lists.freedesktop.org
Summary: Unnecessary filtering file:// for pcmanfm
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: vovik-wfa at bk.ru
Hardware: Other
Status: NEW
Version: 1.1.0 rc1
Component: xdg-utils
Product: Portland
In LXDE if xdg-open is invoked with encoded file:// URL, PCManFM reports "no
such file".
It happens because xdg-open filters out 'file://' prefix on line 672:
local file="$(echo "$1" | sed 's%^file://%%')"
PCManFM recieves encoded URL without prefix, so it tries to open gibberish path
without interpreting URL encoding.
Example:
xdg-open file:///tmp/media/%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D0%B0/
pcmanfm should recieve either
'file:///tmp/media/%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D0%B0/' or
'/tmp/media/работа/'
But it recieves '/tmp/media/%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D0%B0/' which is
gibberish.
'file://' prefix should be passed through to PCManFM
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/portland-bugs/attachments/20130405/1569deb5/attachment.html>
More information about the Portland-bugs
mailing list