Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xdg: relative paths should be ignored #1074

Closed
13 tasks done
rsteube opened this issue Jan 3, 2025 · 0 comments · Fixed by #1075
Closed
13 tasks done

xdg: relative paths should be ignored #1074

rsteube opened this issue Jan 3, 2025 · 0 comments · Fixed by #1075

Comments

@rsteube
Copy link
Member

rsteube commented Jan 3, 2025

Current Behavior

Variables containing a relative path are used unexpanded.

Expected Behavior

All paths set in these environment variables must be absolute. If an implementation encounters a relative path in any of these variables it should consider the path invalid and ignore it.

https://specifications.freedesktop.org/basedir-spec/latest/#basics

Steps To Reproduce

No response

Version

1.1.1

OS

  • Darwin
  • Linux
  • Termux
  • Windows

Shell

  • Bash
  • Cmd
  • Elvish
  • Fish
  • Nushell
  • Oil
  • Powershell
  • Xonsh
  • Zsh

Anything else?

causes #1073
related golang/go#68470

Polar

Fund with Polar
@rsteube rsteube added bug Something isn't working fund Fundable with polar.sh labels Jan 3, 2025
@rsteube rsteube changed the title XDG: relative paths should be ignored xdg: relative paths should be ignored Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant