nextcloud-desktop/src/cmd
Patrick Cernko b1db1fb599 fixed detection of server version in cmd client similar to gui client:
first check status.php for version and then capabilities, only use version string if not empty

this also fixes 'File names containing the character ":" are not supported on this file system.' errors in nextcloudcmd (on Linux): The invalidFilenameRegex was set to a static default in case the server version was not set correctly. As newer versions of nextcloud do not return the version in capabilities but status.php, the server version was empty.

Signed-off-by: Patrick Cernko <errror@errror.org>
2023-09-06 19:10:15 +08:00
..
CMakeLists.txt add headers in cmake files to get them properly detected 2022-02-11 14:31:22 +00:00
cmd.cpp fixed detection of server version in cmd client similar to gui client: 2023-09-06 19:10:15 +08:00
cmd.h Apply clang-format 2017-05-17 12:26:27 +02:00
cmd.md Structure developer documentation 2015-06-29 18:43:21 +02:00
netrcparser.cpp Apply clang-format 2017-05-17 12:26:27 +02:00
netrcparser.h Enable the modernize-use-using check on clang-tidy 2020-08-12 18:18:57 +02:00
simplesslerrorhandler.cpp Fix error in logic. 2022-10-11 09:43:31 +03:00
simplesslerrorhandler.h switch from Q_DECL_OVERRIDE to plain override 2021-08-31 08:35:57 +00:00