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

[Bug]: newlines in filename break sync #6018

Closed
5 of 8 tasks
akallabeth opened this issue Sep 2, 2023 · 3 comments
Closed
5 of 8 tasks

[Bug]: newlines in filename break sync #6018

akallabeth opened this issue Sep 2, 2023 · 3 comments

Comments

@akallabeth
Copy link

⚠️ Before submitting, please verify the following: ⚠️

Bug description

when a filename contains a newline the client will fail to sync

Steps to reproduce

  1. create a file or folder with a newline in a synced folder
  2. observe the sync breaking

Expected behavior

well, sync the file to the remote

Which files are affected by this bug

something\nelse.txt

Operating system

Linux

Which version of the operating system you are running.

debian 12

Package

Distro package manager

Nextcloud Server version

26

Nextcloud Desktop Client version

3.7.3

Is this bug present after an update or on a fresh install?

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • Default internal user-backend
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Nextcloud Server logs

No response

Additional info

unix systems allow nearly everything in filenames except / so maybe other symbols trigger this as well

@jospoortvliet
Copy link
Member

This might be because a newline is on the ignored files list? https://docs.nextcloud.com/desktop/3.10/architecture.html#ignored-files

BTW impressive, I didn't know you can put newlines in file names, I sure can't manage to do so in the Dolphin file manager.

But then you can put emoji etc in filenams, too. I'm still from the good old 8.3 capitalized characters time so I wouldn't even THINK about trying such stuff 😏

@akallabeth
Copy link
Author

@jospoortvliet can´t find that on the ignored file list (the link you provided)

and I can understand your amusement, had the same when trying to debug this (was not my machine)
so, the person in question was confusing a filename for an epic, but nonetheless figured out how to put these in ;)

anyway, that should just be ignored, but it did break the sync (as in nothing was synced no more)

@joshtrichards
Copy link
Member

Duplicate of #3613

@joshtrichards joshtrichards marked this as a duplicate of #3613 Aug 16, 2024
@joshtrichards joshtrichards closed this as not planned Won't fix, can't repro, duplicate, stale Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants