Open mgallien opened 2 weeks ago
@susnux I am available if you have questions would need to be done before final release
But the #
is not forbidden on Windows system? I just tested it and it is pretty valid to have #
in filenames and even creating files with leading #
works on Windows.
Also checked onedrive, as OneDrive is also using the VFS. And for OneDrive it also works perfectly fine.
(reading MS support pages #
is allowed for OneDrive since 2017 )
@susnux
I understand your concerns
my point is that we currently get errors reported by the windows CfApi when we try to make virtual files or folders starting with a #
that was the point of the PR I linked
I will see if I can find out why we get such an error and of there is a workaround
currently allowing leading #
will trigger sync errors with current releases of the desktop files client
⚠️ This issue respects the following points: ⚠️
Bug description
Desktop files client implementing virtual files API on Windows needed to handle errors with file names with leading
#
. See https://github.com/nextcloud/desktop/pull/6456 The server is missing this rule hence desktop files client not running on Windows can still create those paths impossible to handle on WindowsSteps to reproduce
#
in the name. Do this when running on Linux.Expected behavior
The Linux based client would report the name to be incompatible with windows, not sync it and offer to rename it.
Nextcloud Server version
master
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response