Summary: |
xdg-open may expand %f as relative path |
Product: |
Portland
|
Reporter: |
Davide Del Zompo <gino.corazzi> |
Component: |
xdg-utils | Assignee: |
Portland Bugs <portland-bugs> |
Status: |
RESOLVED
NOTOURBUG
|
QA Contact: |
|
Severity: |
enhancement
|
|
|
Priority: |
medium
|
|
|
Version: |
unspecified | |
|
Hardware: |
Other | |
|
OS: |
Linux (All) | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
xdg-open: expand %[fFuU] as full path
|
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.
Created attachment 117440 [details] 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.