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(fs): check resolved path against root #224

Merged
merged 5 commits into from
Dec 16, 2020
Merged

Commits on Dec 15, 2020

  1. fix(fs): check resolved path against root

    This should prevent paths from being resolved above the root.
    
    Should affect all commands that utilize the FS functions.
    
    Fixes #167
    matt-forster committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    b5d8fc0 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2020

  1. test: use __dirname for relative certs

    Tyler Stewart committed Dec 16, 2020
    Configuration menu
    Copy the full SHA
    d3e0ae5 View commit details
    Browse the repository at this point in the history
  2. fix: improve path resolution

    Tyler Stewart committed Dec 16, 2020
    Configuration menu
    Copy the full SHA
    1b5aacb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    308667b View commit details
    Browse the repository at this point in the history
  4. fix: normalize resolve path if absolute

    Otherwise join will normalize
    Tyler Stewart committed Dec 16, 2020
    Configuration menu
    Copy the full SHA
    4d1fe56 View commit details
    Browse the repository at this point in the history