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

FileBasedStorage canonicalize base dir and validate input/output paths #5792

Merged
merged 2 commits into from May 11, 2020

Conversation

arifogel
Copy link
Member

  • canonicalize base dir on construction
  • canonicalize all input and output paths
    • throw if canonicalized input/output path is not subpath of base dir

- canonicalize base dir on construction
- canonicalize all input and output paths
  - throw if canonicalized input/output path is not subpath of base dir
@arifogel arifogel requested a review from dhalperi May 11, 2020 23:10
@batfish-bot
Copy link

This change is Reviewable

Copy link
Member

@dhalperi dhalperi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 2 of 2 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@arifogel arifogel merged commit c3331df into batfish:master May 11, 2020
@arifogel arifogel deleted the ari-fbs-canonicalize-and-validate branch May 11, 2020 23:41
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

3 participants