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

file CAS URLs support any filename, but not no filename #13

Open
abentley opened this issue Sep 4, 2019 · 0 comments
Open

file CAS URLs support any filename, but not no filename #13

abentley opened this issue Sep 4, 2019 · 0 comments

Comments

@abentley
Copy link

abentley commented Sep 4, 2019

The filename appears to be irrelevant in file CAS URLs, which is good because at least some error messages contain only hash/size. But the filename should be optional, then, and it's not. A file CAS URL with no filename will produce a 404, with or without a trailing slash.

This requirement goes against the intuitive understanding of a CAS, which is that filenames are irrelevant to it. It's content-addressable, not filename-addressable. Once you know about this quirk, you can supply "asdf" as the filename every time, but it's an unnecessary stumbling block.

@abentley abentley changed the title CAS URLs support any filename, but not no filename file CAS URLs support any filename, but not no filename Sep 4, 2019
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

No branches or pull requests

1 participant