Issues with whitespaces at beginning and end of folders (mac)

Hi,

we have a lot of problems with whitespaces at the beginning and end of folder names. As stupid as macOS is, it allows user to create folder with whitespaces at the beginning and end of folder names. This leads to errors while syncing with the nextcloud server.

In clientversions before 3.4.0 the client seemed to just ignore these folders and sync all other not affected folders. In the latest versions of the client, the sync seems to stop when it detects an effected folder.

Is there any way to just ignore such folders and continue the rest again?

chers
Dan