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

Commits on May 13, 2024

  1. download: Actually validate empty pathnames

    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 <[email protected]>
    fooishbar committed May 13, 2024
    Configuration menu
    Copy the full SHA
    ecbea7a View commit details
    Browse the repository at this point in the history