From 0cdd0ac3e38125a4f1b9c5830b0d447d11e9c683 Mon Sep 17 00:00:00 2001 From: Markus Bucher Date: Tue, 11 Jul 2023 16:13:34 +0200 Subject: [PATCH] Fixes relative_path fed back to katello by subman --- app/models/katello/root_repository.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/katello/root_repository.rb b/app/models/katello/root_repository.rb index 4e5ca4b8d50..c70be50bc2f 100644 --- a/app/models/katello/root_repository.rb +++ b/app/models/katello/root_repository.rb @@ -454,7 +454,7 @@ def format_custom_content_path params = [] params << "comp=#{deb_components.gsub(" ", ",")}" params << "rel=#{deb_releases.gsub(" ", ",")}" - path += "/?#{params.join('&')}" + path += "?#{params.join('&')}" else Rails.logger.warn("deb_use_structured_content is set, but repository #{self.name} is lacking deb_releases or deb_components, so we are defaulting to using simple content.") unless Setting['deb_use_simple_publish']