Skip to content

Conversation

@pmrowla
Copy link
Contributor

@pmrowla pmrowla commented Jun 28, 2021

Thank you for the contribution - we'll try to review it as soon as possible. πŸ™

Will fix #6215

@pmrowla pmrowla self-assigned this Jun 28, 2021
@pmrowla pmrowla requested a review from a team as a code owner June 28, 2021 06:30
@pmrowla pmrowla requested a review from isidentical June 28, 2021 06:30
@pmrowla pmrowla added the bugfix fixes bug label Jun 28, 2021
base_path = os.path.normcase(os.fspath(base_path))
path = os.path.normcase(os.fspath(path))

if base_path not in path:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

note that we don't use path_isin here since it normalizes paths (not only case) and would resolve symlinks

@pmrowla pmrowla merged commit 7c13897 into treeverse:master Jun 28, 2021
@pmrowla pmrowla deleted the 6215-win-add branch June 28, 2021 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix fixes bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add: Path does not overlap with base path

3 participants