Skip to content

Won't work with Upper Case Pod name #1894

@renyuneyun

Description

@renyuneyun

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions