Skip to content

WIN: Sanitised path in getFullPath() to convert Windows separators to posix. #170

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

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

ubidefeo
Copy link
Collaborator

Because of how the path was built, the second part was still using the windows separator, making file transfers fail when uploading from windows.
This PR replaces every occurrence of the Windows separator with the posix one.
The behaviour on Mac/Linux does not change, as posix separators are left untouched.

@ubidefeo ubidefeo requested a review from sebromero December 22, 2024 23:46
Copy link
Collaborator

@sebromero sebromero left a comment

Choose a reason for hiding this comment

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

LGTM

@ubidefeo ubidefeo merged commit bd59f93 into development Dec 23, 2024
1 check passed
@ubidefeo ubidefeo deleted the bugfix/windows-recursive-upload branch December 23, 2024 14:31
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.

2 participants