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

Implementing usage of forbidden_chars for file/folder uploads #2802

Open
nc-fkl opened this issue Feb 19, 2024 · 1 comment
Open

Implementing usage of forbidden_chars for file/folder uploads #2802

nc-fkl opened this issue Feb 19, 2024 · 1 comment

Comments

@nc-fkl
Copy link

nc-fkl commented Feb 19, 2024

How to use GitHub

  • Please use the 👍 reaction to show that you want to have the same feature implemented.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Feature description

Hi iOS Team,

there is a forbidden_characters=[....] feature in the WebUI that disallows the usage for renaming/uploading/moving of files & folders with specific characters that are forbidden.
Could we also implement this in the iOS Client so that it is in sync with the frontend?

Thank you for your effort! :)

@susnux
Copy link

susnux commented Feb 23, 2024

For implementation: This PR will add the characters to the capabilities:
nextcloud/server#43775

  • Get the capability "forbidden_filename_characters" from the files app.
  • This is an array of forbidden characters (could be multibyte characters, so it is an array of strings).
  • If any of the strings in the array matches the filename it is considered invalid.

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

4 participants