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.
I vaguely recall we wanted to be able to support relative paths for some reason(s), but don't remember right now. Why can't urxvt handle relative paths?
I'd say this is a bug in rxvt. There are almost no programs that can't handle relative paths AFAIK.
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.