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: Fix missing leading slash causing extra getDirectoryContents entries #324

Merged
merged 1 commit into from Nov 19, 2022

Conversation

Cobertos
Copy link
Contributor

If you don't have a leading slash passed to getDirectoryContents, it will cause it to not properly filter out the current directory from the response. This PR fixes that.

This is the actual cause of the issue I was having in the webdav-fs repo. perry-mitchell/webdav-fs#84

@perry-mitchell perry-mitchell changed the base branch from master to pull_324_test November 19, 2022 19:31
@perry-mitchell perry-mitchell merged commit 935c966 into perry-mitchell:pull_324_test Nov 19, 2022
@perry-mitchell perry-mitchell mentioned this pull request Nov 19, 2022
@perry-mitchell
Copy link
Owner

For some reason the tests won't run on PRs from forks, so I had to merge this to a temporary branch to run them.

@perry-mitchell
Copy link
Owner

Worked! Thanks @Cobertos for this fix.. Much appreciated 🙏

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