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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[#50543] replaced uri join path
Eric Schubertde2ca7f80403
diff --git a/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/open_file_link_query.rb b/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/open_file_link_query.rbindex 6565de958f4..d317cda6dcb 100644--- a/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/open_file_link_query.rb+++ b/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/open_file_link_query.rb@@ -44,7 +44,7 @@ module Storages# rubocop:disable Lint/UnusedMethodArgumentdef call(user:, file_id:, open_location: false)location_flag = open_location ? 0 : 1- ServiceResult.success(result: File.join(@uri.to_s, "index.php/f/#{file_id}?openfile=#{location_flag}"))+ ServiceResult.success(result: Util.join_uri_path(@uri, "index.php/f/#{file_id}?openfile=#{location_flag}"))end# rubocop:enable Lint/UnusedMethodArgumentdiff --git a/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/open_storage_query.rb b/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/open_storage_query.rbindex a1fdd5803c6..34976145a1d 100644--- a/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/open_storage_query.rb+++ b/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/open_storage_query.rb@@ -43,7 +43,7 @@ module Storages# rubocop:disable Lint/UnusedMethodArgumentdef call(user:)- ServiceResult.success(result: File.join(@uri.to_s, 'index.php/apps/files'))+ ServiceResult.success(result: Util.join_uri_path(@uri, 'index.php/apps/files'))end# rubocop:enable Lint/UnusedMethodArgument