Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[#50801] Fix @uri.path in NextcloudConfiguration

Dominic Bräunlein66dee89d5955
diff --git a/modules/storages/app/common/storages/peripherals/oauth_configurations/nextcloud_configuration.rb b/modules/storages/app/common/storages/peripherals/oauth_configurations/nextcloud_configuration.rb
index 1ef56779c09..df301b57206 100644
--- a/modules/storages/app/common/storages/peripherals/oauth_configurations/nextcloud_configuration.rb
+++ b/modules/storages/app/common/storages/peripherals/oauth_configurations/nextcloud_configuration.rb
@@ -46,7 +46,7 @@ module Storages
authorization_check_wrapper do
Net::HTTP.start(@uri.host, @uri.port, use_ssl: true) do |http|
http.get(
- util.join_uri_path(@uri, '/ocs/v1.php/cloud/user'),
+ util.join_uri_path(@uri.path, '/ocs/v1.php/cloud/user'),
{
'Authorization' => "Bearer #{token}",
'OCS-APIRequest' => 'true',