From a4ab1e16feb2aa0790aa6afc57ec700da7745337 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 38eb11e70b8..087bf33d676 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.") if not Setting['deb_use_simple_publish']