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

fix(configuration): Fix handling of config values that start with . or .. but are not relative paths #2065

Merged
merged 1 commit into from
Sep 20, 2020

Conversation

koehlerb
Copy link
Contributor

Summary

  • Tell us about the problem your pull request is solving.

This PR fixes the problem where a config value that is not a relative path gets normalized
to an absolute path when it shouldn't be. For example, values like ".foo" and "..bar" are
not relative paths.

  • [ x] Are there any open issues that are related to this?

Not that I am aware of.

  • [x ] Is this PR dependent on PRs in other repos?

Not that I am aware of.

…ually relative paths; e.g. ".foo" or "..bar"
@daffl daffl changed the title fix handling of config values that start with . or .. but are not relative paths fix(configuration): Fix handling of config values that start with . or .. but are not relative paths Sep 20, 2020
@daffl
Copy link
Member

daffl commented Sep 20, 2020

Thank you @koehlerb! This makes sense and will go out with the next patch release.

As a side note: The next breaking version will change the configuration behaviour to be more in line with node-config (see #1895 for more information)

@daffl daffl merged commit 6369f0b into feathersjs:crow Sep 20, 2020
daffl pushed a commit that referenced this pull request Oct 9, 2020
…r .. but are not actually relative paths; e.g. ".foo" or "..bar" (#2065)

Co-authored-by: Brian Koehler <bkoehler@langara.ca>
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.

None yet

2 participants