diff --git a/libmamba/src/specs/package_info.cpp b/libmamba/src/specs/package_info.cpp index 527956bd1c..a988327f7f 100644 --- a/libmamba/src/specs/package_info.cpp +++ b/libmamba/src/specs/package_info.cpp @@ -63,7 +63,7 @@ namespace mamba::specs { out.platform = url.platform_name(); url.clear_platform(); - out.channel = util::rstrip(url.str(), '/'); + out.channel = util::rstrip(url.str(specs::CondaURL::Credentials::Show), '/'); } // Build string