<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - xdg-open may expand %f as relative path"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91500">91500</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>xdg-open may expand %f as relative path
</td>
</tr>
<tr>
<th>Product</th>
<td>Portland
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>xdg-utils
</td>
</tr>
<tr>
<th>Assignee</th>
<td>portland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>gino.corazzi@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=117440" name="attach_117440" title="xdg-open: expand %[fFuU] as full path">attachment 117440</a> <a href="attachment.cgi?id=117440&action=edit" title="xdg-open: expand %[fFuU] as full path">[details]</a></span>
xdg-open: expand %[fFuU] as full path
While trying to setup urxvt as inode/directory handler (Exec=urxvt -cd %f) I
noticed that the %f field code may be expanded as a relative path, causing
urxvt to fail.
In wider terms, some applications could have problems dealing with relative
paths, while absolute paths should be "safe" for anything.
I can't foresee any issue introduced by the attached diff, but any comment is
welcome.</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>