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

Re-applying Sanitize path names #460

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fclairamb
Copy link
Owner

Re-applying #435:

In particular, guards against the use of backslash
delimited filepaths as used on Windows.

This situation can occur when nesting s3.Fs inside an
afero.BasePathFs which will process paths using filepath
package.

On Windows calls to MkdirAll will use Windows
paths and will create backslash paths on S3 which is
undesirable.

Fixes #434

Signed-off-by: Jack Mordaunt [email protected]

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.

Guard against Windows file paths (backslash delimited)
1 participant