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

[stable-3.10] fixed detection of server version in cmd client similar to gui client (2nd try, signed off) #6033

Merged
merged 1 commit into from
Sep 7, 2023

Commits on Sep 7, 2023

  1. 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 <[email protected]>
    errror authored and backportbot-nextcloud[bot] committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    80be0be View commit details
    Browse the repository at this point in the history