[Bug]: nextcloudcmd prejudiced against users named david #7233
Labels
0. Needs triage
approved
bug approved by the team
bug
feature: 🔳 nextcloudcmd
good first issue
stable-3.7
Feedback on 3.7.x releases
Bug description
Following upgrade, nextcloudcmd has begun refusing to sync with the error
Investigating the source finds this naive substring check in src/cmd/cmd.cpp line 348:
Naturally, since my username is david, the string
nextcloudcmd -s /home/david/Documents/ 'https://[email protected]'
contains the substring/dav
Steps to reproduce
dav
orwebdav
Expected behavior
I should not have to change my username in order to sync.
Which files are affected by this bug
n/a
Operating system
Linux
Which version of the operating system you are running.
Debian 12
Package
Distro package manager
Nextcloud Server version
29.0.7
Nextcloud Desktop Client version
3.7.3git
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 3.3.6 to 3.4.0)
Are you using the Nextcloud Server Encryption module?
Encryption is Enabled
Are you using an external user-backend?
Nextcloud Server logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: