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

Won't work with Upper Case Pod name #1894

Open
renyuneyun opened this issue Apr 22, 2024 · 0 comments
Open

Won't work with Upper Case Pod name #1894

renyuneyun opened this issue Apr 22, 2024 · 0 comments
Labels
🐛 bug Something isn't working

Comments

@renyuneyun
Copy link

renyuneyun commented Apr 22, 2024

Environment

  • Server version: 7.0.4
  • Node.js version: v20.11.1
  • npm version: 10.2.4

Description

The CSS server does not work correctly when a Pod is created with Upper Case / Capital letters, at least for the file storage backend.
It will return error 401. However, the root cause is the case of letters.

When creating the Pod, files and directories are created correctly. However, when visiting the Pod, it will resolve to lower-case, which will not be found (because filesystem is case-sensitive, as always has been the case on most *nix filesystems).

CSS should either handle cases precisely, or always use lower case (or upper case, if wanted) throughout.
Another trick is to dynamically resolve upper case and lower case if resource not found. This may be a bad idea, though.

@joachimvh joachimvh added the 🐛 bug Something isn't working label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants