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

feat: Allow to enforce windows compatibility #45220

Conversation

susnux
Copy link
Contributor

@susnux susnux commented May 7, 2024

Summary

TODO

  • ...

Checklist

susnux added 6 commits May 7, 2024 14:31
…files are enforced

* Provide filename blacklist in public `\OCP\Util`
* Use filename blacklist and forbidden characters also in `Filesystem::isFileBlacklisted`
* Drop unused and deprecated `\OC_Util::isValidFileName`

Signed-off-by: Ferdinand Thiessen <[email protected]>
…acters` to the `oc_config`

Signed-off-by: Ferdinand Thiessen <[email protected]>
It previously was, even if not documented, case insensitive.

Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux changed the base branch from master to fix/ensure-blacklist-is-honored May 7, 2024 14:08
This will:
* Deny characters forbidden on Windows
* Deny files with names which are reserved on Windows
* Deny trailing dot or space
* Deny files or folders which are not case-insensitive unique in a folder

Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux force-pushed the fix/allow-enforcing-windows-support branch from bf78774 to 30a981b Compare May 7, 2024 14:11
Copy link
Contributor

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

@susnux susnux force-pushed the fix/ensure-blacklist-is-honored branch 3 times, most recently from 7d074c7 to 458eae0 Compare June 2, 2024 00:28
@artonge artonge closed this Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🪟📁📄 Ability to enforce windows compatible file names on the server
2 participants