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

download: Actually validate empty pathnames #497

Merged
merged 1 commit into from
May 15, 2024

Conversation

fooishbar
Copy link
Contributor

From the path module doc:
If the path is empty, Base returns ".". If the path consists
entirely of slashes, Base returns "/".

Actually validate that we provide a filename when one is required, rather than failing with an error that /scratch exists but is not a file.

From the path module doc:
    If the path is empty, Base returns ".". If the path consists
    entirely of slashes, Base returns "/".

Actually validate that we provide a filename when one is required,
rather than failing with an error that /scratch exists but is not a
file.

Signed-off-by: Daniel Stone <daniels@collabora.com>
@fooishbar
Copy link
Contributor Author

The CI failing isn't my fault, but I can't see how to retry.

@obbardc obbardc enabled auto-merge May 15, 2024 13:24
@obbardc obbardc added this pull request to the merge queue May 15, 2024
Merged via the queue into go-debos:main with commit 6550de9 May 15, 2024
32 checks passed
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