-
Notifications
You must be signed in to change notification settings - Fork 801
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
fixed detection of server version in cmd client similar to gui client (2nd try, signed off) #6023
Conversation
Thanks for the changes! |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #6023 +/- ##
=======================================
Coverage 60.14% 60.15%
=======================================
Files 145 145
Lines 18868 18868
=======================================
+ Hits 11349 11350 +1
+ Misses 7519 7518 -1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In updating the branch you have added a merge commit -- please don't update the contents of the PR with the "Update branch" button as this adds merge commits to your pull request
Once you have removed the merge commit, we will be able to merge
ok, will remember this for the future.
I have removed the merge commit! |
Thanks! One last thing -- the sign-off points to This will allow our CI pipeline to pass and we can merge the PR |
I fixed the author of my commit message to match the sign-off. |
Awesome, thanks! |
/backport to stable-3.10 |
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]>
AppImage file: nextcloud-PR-6023-b1db1fb59999837227e5e64ce28d36fd2f4cf4dd-x86_64.AppImage |
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.
As I did not find a way to fullfil your requirements in my first PR, I created a new one. This one has a commit message with a correct Signed-off line. It also has no other changes as I did not enable the actions in this fork.