<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Unnecessary filtering file:// for pcmanfm"
href="https://bugs.freedesktop.org/show_bug.cgi?id=63153">63153</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>portland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>Unnecessary filtering file:// for pcmanfm
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>vovik-wfa@bk.ru
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>1.1.0 rc1
</td>
</tr>
<tr>
<th>Component</th>
<td>xdg-utils
</td>
</tr>
<tr>
<th>Product</th>
<td>Portland
</td>
</tr></table>
<p>
<div>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>