Skip to content

Folder with name having more than 65 characters can be created #350

Closed

Description

@anon-pradip

Description

We can easily create folder with name consisting more than 65 characters and that folder will be synced to the server as well without having any issue and the folder is not blacklisted as mentioned in

| 10 | Files that cause an error with the API should try 3 times, and then blacklist | 1. Try to sync a folder that has more than 65 characters<br>2. sync it with some contents<br>3. rename the folder to a name with less than 65 characters | The sync should be tried 3 times and then the folder should be blacklisted, after the rename the sync should succeed. | :construction: Win<br>:construction: macOS<br>:construction: Linux | |

Steps to reproduce:

  1. Create a folder with name consisting more than 65 characters: This_is_a_sample_folder_name_with_more_than_sixty_five_characters_123456 inside the root sync folder
  2. Wait for the folder to be synced
  3. Check in the server (WebUI)

Has this been fixed (i.e., can be considered as a feature) or a bug?

Activity

  1. anon-pradip commented on Jun 30, 2025

    @anon-pradip
    ContributorAuthor

    @ScharfViktor Are you facing the same issue in Mac?

  2. TheOneRing commented on Jun 30, 2025

    @TheOneRing
    Contributor

    I assume the filename limit to be something about 255 chars so that outcome is expected?

  3. v-scharf commented on Jun 30, 2025

    @v-scharf
    Contributor

    We do not have any backend checks. We have just limited the length of the name in the web. opencloud-eu/web#772

  4. v-scharf commented on Jun 30, 2025

    @v-scharf
    Contributor

    @ScharfViktor Are you facing the same issue in Mac?

    that works for me on mac. creating file/folder with thisIsAVeryLongFileNameToCheckThatItWorks-thisIsAVeryLongFileNameToCheckThatItWorks-thisIsAVeryLongFileNameToCheckThatItWorks-thisIsAVeryLongFileNameToCheckThatItWorks-thisIsAVeryLongFileNameToCheckThatItWorks-thisIs name

  5. anon-pradip commented on Jul 1, 2025

    @anon-pradip
    ContributorAuthor

    Alright then I think we should update the test plan with proper condition for blacklisting a file. So closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions