Restrict upload filename to 255 characters
Currently, length validation is not applied to filenames of uploaded files. This allows users to upload files with filenames longer than 255 characters, which are not supported by Linux machines.
The problem arises when a remote object store is configured, causing files to be uploaded to object storage rather than saved to the local disk. While this enables the use of filenames longer than 255 characters, it also prevents the successful export of projects that require files to be downloaded to the disk due to the excessive filename length.
Proposed solution
Restrict filenames to 255 characters.