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

Interpret environment entries as path parts #1483

Merged
merged 2 commits into from
Feb 26, 2024
Merged

Conversation

mosteo
Copy link
Member

@mosteo mosteo commented Oct 24, 2023

Addresses part of #1178, by mandating '/' path separators in environment values for dir separation.

I expect user intent is always (99.9%?) to have slashes be interpreted as path separators in environment entries. We had some conditional expressions in our test indexes, but none in our current community releases, so we were already operating under the above assumption. We could provide a way down the road to avoid this path interpretation, but it seems a pretty marginal use case.

This is a breaking reinterpretation, so in time for 2.0.

@mosteo mosteo force-pushed the fix/slashes-simple branch 2 times, most recently from c17f2a8 to df1c436 Compare December 15, 2023 16:24
@mosteo mosteo force-pushed the fix/slashes-simple branch 2 times, most recently from 29e9e16 to 0fcf892 Compare January 22, 2024 10:38
This is the likely intended behavior. Down the road we can have a way to have
literal values in these strings.
@mosteo mosteo marked this pull request as ready for review February 22, 2024 17:28
@mosteo mosteo linked an issue Feb 23, 2024 that may be closed by this pull request
@mosteo mosteo added this to the 2.0 milestone Feb 26, 2024
@mosteo mosteo merged commit 2f53db7 into master Feb 26, 2024
28 checks passed
@mosteo mosteo deleted the fix/slashes-simple branch February 26, 2024 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Path on windows with slashes and backslashes
2 participants