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

Conversation

backportbot-nextcloud[bot]
Copy link

Backport of #6023

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>
@backportbot-nextcloud backportbot-nextcloud bot added this to the 3.10.0 milestone Sep 7, 2023
@nextcloud-desktop-bot
Copy link

AppImage file: nextcloud-PR-6033-80be0bec3d8efd79ee06df0fd15fc21822e05677-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

@sonarcloud
Copy link

sonarcloud bot commented Sep 7, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell B 9 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@codecov
Copy link

codecov bot commented Sep 7, 2023

Codecov Report

Merging #6033 (80be0be) into stable-3.10 (8fefb60) will increase coverage by 0.01%.
Report is 1 commits behind head on stable-3.10.
The diff coverage is n/a.

Additional details and impacted files
@@               Coverage Diff               @@
##           stable-3.10    #6033      +/-   ##
===============================================
+ Coverage        60.13%   60.14%   +0.01%     
===============================================
  Files              145      145              
  Lines            18868    18868              
===============================================
+ Hits             11346    11349       +3     
+ Misses            7522     7519       -3     

see 1 file with indirect coverage changes

@claucambra claucambra merged commit 432cde5 into stable-3.10 Sep 7, 2023
11 of 12 checks passed
@claucambra claucambra deleted the backport/6023/stable-3.10 branch September 7, 2023 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants